From bb0261bcf64a7f9cd0a8f0af6dba277c620e2f64 Mon Sep 17 00:00:00 2001 From: Yifei Zhang Date: Thu, 9 Nov 2023 11:00:09 +0800 Subject: [PATCH] fix: #3192 use smaller max_tokens as default (cherry picked from commit 87e3d663a2955f7344f214b355f8a8d03032ea65) --- app/store/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/store/config.ts b/app/store/config.ts index f27f261d069..1bd891db96e 100644 --- a/app/store/config.ts +++ b/app/store/config.ts @@ -50,7 +50,7 @@ export const DEFAULT_CONFIG = { model: "gpt-3.5-turbo-1106" as ModelType, temperature: 0.5, top_p: 1, - max_tokens: 8192, + max_tokens: 4000, presence_penalty: 0, frequency_penalty: 0, sendMemory: true,