From 156333fb54fbf6b390dc765e21abaf655d51cba3 Mon Sep 17 00:00:00 2001 From: sijinhui Date: Wed, 20 Mar 2024 08:47:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0claude3=E6=A8=A1=E5=9E=8B?= 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 63eb33e4b..aa0b6be7e 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -166,6 +166,16 @@ export const DEFAULT_MODELS = [ providerType: "openai", }, }, + { + name: "claude-3-opus-20240229", + describe: "claude第三代模型最强版", + available: true, + provider: { + id: "openai", + providerName: "OpenAI", + providerType: "openai", + }, + }, { name: "gpt-4-vision-preview", available: true, diff --git a/app/store/config.ts b/app/store/config.ts index 2776aa0b5..4f32c590d 100644 --- a/app/store/config.ts +++ b/app/store/config.ts @@ -137,7 +137,7 @@ export const useAppConfig = createPersistStore( }), { name: StoreKey.Config, - version: 3.899, + version: 3.8991, 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.899) { + if (version < 3.8991) { state.lastUpdate = Date.now(); return { ...DEFAULT_CONFIG }; }