From 8e81d3e2e5eeb8b4d96ffb80c2db203ceb777696 Mon Sep 17 00:00:00 2001 From: sijinhui Date: Tue, 20 Feb 2024 12:47:17 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/constant.ts | 10 +++++----- app/store/config.ts | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/constant.ts b/app/constant.ts index ac8b1103e..8165a87fb 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -145,9 +145,9 @@ export const DEFAULT_MODELS = [ // available: false, // }, { - name: "gpt-4-1106-preview", - describe: "GPT-4", - available: false, + name: "gpt-4-0125-preview", + describe: "GPT-4,最新版,推荐", + available: true, provider: { id: "openai", providerName: "OpenAI", @@ -155,8 +155,8 @@ export const DEFAULT_MODELS = [ }, }, { - name: "gpt-4-0125-preview", - describe: "GPT-4,最新版,推荐", + name: "gpt-4-1106-preview", + describe: "GPT-4,备用", available: true, provider: { id: "openai", diff --git a/app/store/config.ts b/app/store/config.ts index 7b5109304..0da5a272c 100644 --- a/app/store/config.ts +++ b/app/store/config.ts @@ -137,7 +137,7 @@ export const useAppConfig = createPersistStore( }), { name: StoreKey.Config, - version: 3.896, + version: 3.897, 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.896) { + if (version < 3.897) { state.lastUpdate = Date.now(); return { ...DEFAULT_CONFIG }; }