diff --git a/app/constant.ts b/app/constant.ts index 3a7ea0987..8b4522a17 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -434,7 +434,7 @@ export const DEFAULT_MODELS = [ // }, // }, { - name: "o1-preview-all", + name: "o1-preview", describe: "GPT,o1,最新模型,目前较贵", available: true, sorted: seq++, diff --git a/app/store/config.ts b/app/store/config.ts index be9db51fb..0ae6b9aec 100644 --- a/app/store/config.ts +++ b/app/store/config.ts @@ -182,7 +182,7 @@ export const useAppConfig = createPersistStore( }), { name: StoreKey.Config, - version: 4.1, + version: 4.2, merge(persistedState, currentState) { const state = persistedState as ChatConfig | undefined; @@ -229,7 +229,7 @@ export const useAppConfig = createPersistStore( state.lastUpdate = Date.now(); } - if (version < 4.1) { + if (version < 4.2) { state.modelConfig.compressModel = DEFAULT_CONFIG.modelConfig.compressModel; state.modelConfig.compressProviderName =