From d952f6cc9dac47ffbf17d4c04100bf115a1f2b15 Mon Sep 17 00:00:00 2001 From: CC <35765871+cciikitchen@users.noreply.github.com> Date: Fri, 10 May 2024 14:25:18 +0800 Subject: [PATCH 1/5] Update sync.ts --- app/store/sync.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/store/sync.ts b/app/store/sync.ts index 8ee6c1819f4..ed13d44df1c 100644 --- a/app/store/sync.ts +++ b/app/store/sync.ts @@ -30,13 +30,13 @@ const DEFAULT_SYNC_STATE = { proxyUrl: corsPath(ApiPath.Cors), webdav: { - endpoint: "", - username: "", + endpoint: "https://dav.jianguoyun.com/dav/", + username: "next", password: "", }, upstash: { - endpoint: "", + endpoint: "apn1-busy-midge-34212.upstash.io", username: STORAGE_KEY, apiKey: "", }, From 16143473e502bba92d2f9fd4cd3fd6bda3d049ea Mon Sep 17 00:00:00 2001 From: CC <35765871+cciikitchen@users.noreply.github.com> Date: Tue, 14 May 2024 16:25:24 +0800 Subject: [PATCH 2/5] Update config.ts --- app/store/config.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/store/config.ts b/app/store/config.ts index 6f2f558a042..70fe8844588 100644 --- a/app/store/config.ts +++ b/app/store/config.ts @@ -46,15 +46,15 @@ export const DEFAULT_CONFIG = { models: DEFAULT_MODELS as any as LLMModel[], modelConfig: { - model: "gpt-3.5-turbo" as ModelType, + model: "gpt-35-turbo" as ModelType, temperature: 0.5, top_p: 1, - max_tokens: 4000, + max_tokens: 4096, presence_penalty: 0, frequency_penalty: 0, sendMemory: true, - historyMessageCount: 4, - compressMessageLengthThreshold: 1000, + historyMessageCount: 6, + compressMessageLengthThreshold: 1024, enableInjectSystemPrompts: true, template: DEFAULT_INPUT_TEMPLATE, }, From e62977aed9ea9c8f67fd39d35066c995604a4acc Mon Sep 17 00:00:00 2001 From: CC <35765871+cciikitchen@users.noreply.github.com> Date: Tue, 14 May 2024 16:44:50 +0800 Subject: [PATCH 3/5] Update config.ts --- 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 70fe8844588..7035d023b4f 100644 --- a/app/store/config.ts +++ b/app/store/config.ts @@ -46,7 +46,7 @@ export const DEFAULT_CONFIG = { models: DEFAULT_MODELS as any as LLMModel[], modelConfig: { - model: "gpt-35-turbo" as ModelType, + model: "GPT-35-Turbo" as ModelType, temperature: 0.5, top_p: 1, max_tokens: 4096, From 2a3e3d88e94d955e19bb6a10635cb570a69ee3c6 Mon Sep 17 00:00:00 2001 From: CC <35765871+cciikitchen@users.noreply.github.com> Date: Tue, 14 May 2024 17:12:29 +0800 Subject: [PATCH 4/5] Update config.ts --- 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 7035d023b4f..d1ab347e9d3 100644 --- a/app/store/config.ts +++ b/app/store/config.ts @@ -46,7 +46,7 @@ export const DEFAULT_CONFIG = { models: DEFAULT_MODELS as any as LLMModel[], modelConfig: { - model: "GPT-35-Turbo" as ModelType, + model: "gpt-3.5-turbo" as ModelType, temperature: 0.5, top_p: 1, max_tokens: 4096, From 8e06b4eabb3925ad0aa14a6bb584c279230f87bf Mon Sep 17 00:00:00 2001 From: CC <35765871+cciikitchen@users.noreply.github.com> Date: Tue, 14 May 2024 17:42:57 +0800 Subject: [PATCH 5/5] Update sync.ts --- app/store/sync.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/store/sync.ts b/app/store/sync.ts index 72aeebcd37f..57bfedf2e6a 100644 --- a/app/store/sync.ts +++ b/app/store/sync.ts @@ -36,7 +36,7 @@ const DEFAULT_SYNC_STATE = { }, upstash: { - endpoint: "apn1-busy-midge-34212.upstash.io", + endpoint: "https://apn1-busy-midge-34212.upstash.io/", username: STORAGE_KEY, apiKey: "", },