From 3c76f101c9402e9be8bbe8186fdf2047be4db858 Mon Sep 17 00:00:00 2001 From: ZhaoLiu Date: Wed, 26 Apr 2023 18:08:03 +0800 Subject: [PATCH] default submit key = enger --- app/store/config.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/store/config.ts b/app/store/config.ts index 346f38da2..a0032cda7 100644 --- a/app/store/config.ts +++ b/app/store/config.ts @@ -16,10 +16,10 @@ export enum Theme { } const DEFAULT_CONFIG = { - historyMessageCount: 4, + historyMessageCount: 5, compressMessageLengthThreshold: 1000, sendBotMessages: true as boolean, - submitKey: SubmitKey.CtrlEnter as SubmitKey, + submitKey: SubmitKey.Enter as SubmitKey, avatar: "1f603", fontSize: 14, theme: Theme.Auto as Theme, @@ -31,7 +31,7 @@ const DEFAULT_CONFIG = { modelConfig: { model: "gpt-3.5-turbo" as ModelType, - temperature: 1, + temperature: 0.8, max_tokens: 2000, presence_penalty: 0, },