Skip to content

Commit

Permalink
Update openAI.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
babaohuang committed Dec 14, 2023
1 parent 1dfbfb6 commit 0a59f31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/openAI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const startChatAndSendMessageStream = async(history: ChatMessage[], newMe
parts: msg.parts.map(part => part.text).join(''), // Join parts into a single string
})),
generationConfig: {
maxOutputTokens: 100,
maxOutputTokens: 4000,
},
})

Expand Down

0 comments on commit 0a59f31

Please sign in to comment.