From 84dd704e4df4affb465f1f640c8df55b061d854a Mon Sep 17 00:00:00 2001 From: sijinhui Date: Mon, 19 Feb 2024 17:07:47 +0800 Subject: [PATCH] =?UTF-8?q?0125=E5=88=87=E6=8D=A2=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E5=BE=AE=E8=BD=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/constant.ts | 6 +++--- app/store/config.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/constant.ts b/app/constant.ts index 3de82eaa5..3171b1b07 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -146,7 +146,7 @@ export const DEFAULT_MODELS = [ // }, { name: "gpt-4-1106-preview", - describe: "GPT-4,又强又快,推荐", + describe: "GPT-4", available: true, provider: { id: "openai", @@ -156,7 +156,7 @@ export const DEFAULT_MODELS = [ }, { name: "gpt-4-0125-preview", - describe: "GPT-4,修复懒惰,目前挺贵", + describe: "GPT-4,最新版,推荐", available: true, provider: { id: "openai", @@ -206,7 +206,7 @@ export const DEFAULT_MODELS = [ }, ] as const; -export const AZURE_MODELS: string[] = ["gpt-4-1106-preview"]; +export const AZURE_MODELS: string[] = ["gpt-4-0125-preview"]; // export const AZURE_PATH = AZURE_MODELS.map((m) => { m: `openai/deployments/${m}/chat/completions`}); // export const AZURE_PATH = AZURE_MODELS.map((m) => ({ m: `openai/deployments/${m}/chat/completions`} )); export const AZURE_PATH = AZURE_MODELS.reduce( diff --git a/app/store/config.ts b/app/store/config.ts index 1146b8368..1503b5ae3 100644 --- a/app/store/config.ts +++ b/app/store/config.ts @@ -137,7 +137,7 @@ export const useAppConfig = createPersistStore( }), { name: StoreKey.Config, - version: 3.894, + version: 3.895, migrate(persistedState, version) { const state = persistedState as ChatConfig; @@ -168,7 +168,7 @@ export const useAppConfig = createPersistStore( if (version < 3.8) { state.lastUpdate = Date.now(); } - if (version < 3.894) { + if (version < 3.895) { state.lastUpdate = Date.now(); return { ...DEFAULT_CONFIG }; }