diff --git a/src/pages/api/chat-completion.ts b/src/pages/api/chat-completion.ts index ccf2487..8410372 100644 --- a/src/pages/api/chat-completion.ts +++ b/src/pages/api/chat-completion.ts @@ -71,7 +71,7 @@ const OpenAIStream = async (apiUrl: string, apiKey: string, model: string, messa body: JSON.stringify({ model: model, frequency_penalty: 0, - max_tokens: 4000, + max_tokens: 2000, messages: [ { role: 'system',