From 785fa4ed76ab0e0898a14a9fb8908c09128b552d Mon Sep 17 00:00:00 2001 From: sijinhui Date: Fri, 27 Sep 2024 11:58:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9o1=E6=A8=A1=E5=9E=8B=E8=B0=83?= =?UTF-8?q?=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/constant.ts | 2 +- app/store/config.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 =