From 37767cdbcf4d063da987942f2ceb1e56f2f4ba97 Mon Sep 17 00:00:00 2001 From: sijinhui Date: Wed, 24 Jul 2024 13:03:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=85=A8=E7=90=83=E9=83=A8?= =?UTF-8?q?=E7=BD=B2=E6=A8=A1=E5=9E=8B=E7=9C=8B=E7=9C=8B=E6=95=88=E6=9E=9C?= 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, 12 insertions(+), 2 deletions(-) diff --git a/app/constant.ts b/app/constant.ts index 1f8805a41..cc30f36a6 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -306,6 +306,16 @@ export const DEFAULT_MODELS = [ providerType: "azure", }, }, + { + name: "gpt-4o-gl", + describe: "同GPT-4o,备用", + available: true, + provider: { + id: "azure", + providerName: "Azure", + providerType: "azure", + }, + }, { name: "gpt-4-turbo-2024-04-09", describe: "GPT-4,标准版", diff --git a/app/store/config.ts b/app/store/config.ts index 631f1d955..46837c507 100644 --- a/app/store/config.ts +++ b/app/store/config.ts @@ -140,7 +140,7 @@ export const useAppConfig = createPersistStore( }), { name: StoreKey.Config, - version: 3.991, + version: 3.992, migrate(persistedState, version) { const state = persistedState as ChatConfig; @@ -176,7 +176,7 @@ export const useAppConfig = createPersistStore( // return { ...DEFAULT_CONFIG }; // } - if (version < 3.991) { + if (version < 3.992) { // state.modelConfig = DEFAULT_CONFIG.modelConfig; return { ...DEFAULT_CONFIG }; // state.modelConfig.template =