From 3bee3af5278bc42dbf30f09d09b321ea7df3ecbe Mon Sep 17 00:00:00 2001 From: puzhen <1303385763@qq.com> Date: Wed, 19 Nov 2025 01:31:07 +0800 Subject: [PATCH] update --- src/pages/Setting/Models.tsx | 3 +++ src/store/authStore.ts | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pages/Setting/Models.tsx b/src/pages/Setting/Models.tsx index f85bff01c..d722faf84 100644 --- a/src/pages/Setting/Models.tsx +++ b/src/pages/Setting/Models.tsx @@ -703,6 +703,8 @@ const [errors, setErrors] = useState< ? t("setting.claude-sonnet-4") : cloud_model_type === "claude-3-5-haiku-20241022" ? t("setting.claude-3.5-haiku") + : cloud_model_type === "gemini-3-pro-preview" + ? t("setting.gemini-3-pro-preview") : cloud_model_type === "gpt-5" ? t("setting.gpt-5") : cloud_model_type === "gpt-5-mini" @@ -725,6 +727,7 @@ const [errors, setErrors] = useState< Gemini 2.5 Pro Gemini 2.5 Flash + Gemini 3 Pro Preview GPT-4.1 mini GPT-4.1 GPT-5 diff --git a/src/store/authStore.ts b/src/store/authStore.ts index 0db51c025..36a1e768a 100644 --- a/src/store/authStore.ts +++ b/src/store/authStore.ts @@ -4,7 +4,7 @@ import { persist } from 'zustand/middleware'; // type definition type InitState = 'permissions' | 'carousel' | 'done'; type ModelType = 'cloud' | 'local' | 'custom'; -type CloudModelType = 'gemini/gemini-2.5-pro' | 'gemini-2.5-flash' | 'gpt-4.1-mini' | 'gpt-4.1' | 'claude-sonnet-4-5' | 'claude-sonnet-4-20250514' | 'claude-3-5-haiku-20241022' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano'; +type CloudModelType = 'gemini/gemini-2.5-pro' | 'gemini-2.5-flash' | 'gemini-3-pro-preview' | 'gpt-4.1-mini' | 'gpt-4.1' | 'claude-sonnet-4-5' | 'claude-sonnet-4-20250514' | 'claude-3-5-haiku-20241022' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano'; // auth info interface interface AuthInfo {