From d3f7c6867858b6b7ad605cee58a55ecd5448d6ea Mon Sep 17 00:00:00 2001 From: babaohuang Date: Thu, 14 Dec 2023 21:56:09 +0800 Subject: [PATCH] Update openAI.ts --- src/utils/openAI.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/openAI.ts b/src/utils/openAI.ts index b606d5c4..991ec2bf 100644 --- a/src/utils/openAI.ts +++ b/src/utils/openAI.ts @@ -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: 4000, + maxOutputTokens: 8000, }, })