From bc86ead3d43207e01fda90cb3ab58486ec866cab Mon Sep 17 00:00:00 2001 From: xuzhenjun <412530435@qq.com> Date: Mon, 17 Apr 2023 23:16:02 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A8=8D=E5=BE=AE=E8=B0=83=E4=BD=8E=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/store/app.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/store/app.ts b/app/store/app.ts index 813668905..efc4ce36a 100644 --- a/app/store/app.ts +++ b/app/store/app.ts @@ -133,8 +133,8 @@ export const ModalConfigValidator = { }; const DEFAULT_CONFIG: ChatConfig = { - historyMessageCount: 4, - compressMessageLengthThreshold: 1000, + historyMessageCount: 3, + compressMessageLengthThreshold: 800, sendBotMessages: true as boolean, submitKey: SubmitKey.CtrlEnter as SubmitKey, avatar: "1f603", @@ -148,8 +148,8 @@ const DEFAULT_CONFIG: ChatConfig = { modelConfig: { model: "gpt-3.5-turbo", - temperature: 1, - max_tokens: 2000, + temperature: 0.5, + max_tokens: 1500, presence_penalty: 0, }, };