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 }; }