Skip to content

Commit

Permalink
fix max length
Browse files Browse the repository at this point in the history
  • Loading branch information
yunwei37 committed Jul 3, 2023
1 parent 0a59081 commit c5f24f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/api/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const handler = async (req: Request): Promise<Response> => {
top_p: 1,
frequency_penalty: 0,
presence_penalty: 0,
max_tokens: 16000,
max_tokens: 6100,
stream: true,
n: 1,
};
Expand Down

0 comments on commit c5f24f6

Please sign in to comment.