diff --git a/src/pages/api/chatgpt/chat.ts b/src/pages/api/chatgpt/chat.ts index 9e37e192..bdce422c 100644 --- a/src/pages/api/chatgpt/chat.ts +++ b/src/pages/api/chatgpt/chat.ts @@ -150,7 +150,7 @@ async function sendMsgs({ model: "gpt-3.5-turbo", messages, temperature: 0.5, - max_tokens: 200, + max_tokens: 512, }); if (response.status !== 200) { res.status(response.status).json({ error: response.statusText });