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

Commit

Permalink
refactor: update max tokens to 512
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Mar 12, 2023
1 parent 783bc24 commit 6ec1b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/api/chatgpt/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down

0 comments on commit 6ec1b41

Please # to comment.