Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Commit 6ec1b41

Browse files
committed
refactor: update max tokens to 512
1 parent 783bc24 commit 6ec1b41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/api/chatgpt/chat.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ async function sendMsgs({
150150
model: "gpt-3.5-turbo",
151151
messages,
152152
temperature: 0.5,
153-
max_tokens: 200,
153+
max_tokens: 512,
154154
});
155155
if (response.status !== 200) {
156156
res.status(response.status).json({ error: response.statusText });

0 commit comments

Comments
 (0)