diff --git a/app/constant.ts b/app/constant.ts index 3cefb6f3b..59bbb5062 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -276,7 +276,7 @@ export const DEFAULT_MODELS = [ }, }, { - name: "gpt-4o-2024-05-13", + name: "gpt-4o-all", describe: "GPT-4,最新版,省着点用", available: true, provider: { diff --git a/app/store/config.ts b/app/store/config.ts index 142e5691a..aa8372c0c 100644 --- a/app/store/config.ts +++ b/app/store/config.ts @@ -138,7 +138,7 @@ export const useAppConfig = createPersistStore( }), { name: StoreKey.Config, - version: 3.93, + version: 3.94, migrate(persistedState, version) { const state = persistedState as ChatConfig; @@ -174,7 +174,7 @@ export const useAppConfig = createPersistStore( // return { ...DEFAULT_CONFIG }; // } - if (version < 3.93) { + if (version < 3.94) { state.modelConfig = DEFAULT_CONFIG.modelConfig; // state.modelConfig.template = // state.modelConfig.template !== DEFAULT_INPUT_TEMPLATE