From 8314f00b08cf7e074b5d52e80348310ffe0863e9 Mon Sep 17 00:00:00 2001 From: "claude[bot]" <41898282+claude[bot]@users.noreply.github.com> Date: Wed, 17 Dec 2025 18:56:02 +0000 Subject: [PATCH] Remove DeepSeek v3.1 terminus model - Remove deepseek-v31-terminus from MODEL_CONFIG - Update reasoning_off category to use R1 instead of v3.1 - Temporarily disable brain toggle (will be re-enabled later) - Remove v3.1 from marketing page AI models list - Keep DeepSeek R1 model active and available Resolves #343 Co-authored-by: Anthony --- frontend/src/components/Marketing.tsx | 2 +- frontend/src/components/ModelSelector.tsx | 9 +- frontend/src/components/UnifiedChat.tsx | 132 +++++++++++----------- 3 files changed, 70 insertions(+), 73 deletions(-) diff --git a/frontend/src/components/Marketing.tsx b/frontend/src/components/Marketing.tsx index 91522551..07d93f37 100644 --- a/frontend/src/components/Marketing.tsx +++ b/frontend/src/components/Marketing.tsx @@ -25,7 +25,7 @@ const AI_MODELS = [ { src: "/badge-deepseek-logo.png", alt: "DeepSeek", - labels: ["DeepSeek R1", "DeepSeek V3.1 Terminus"] + labels: ["DeepSeek R1"] }, { src: "/badge-qwen-logo.png", alt: "Qwen", labels: ["Qwen3 Coder", "Qwen3-VL"] }, { src: "/badge-meta-logo.png", alt: "Meta", labels: ["Meta Llama"] } diff --git a/frontend/src/components/ModelSelector.tsx b/frontend/src/components/ModelSelector.tsx index f7408d2e..5000eea4 100644 --- a/frontend/src/components/ModelSelector.tsx +++ b/frontend/src/components/ModelSelector.tsx @@ -68,13 +68,6 @@ export const MODEL_CONFIG: Record = { requiresPro: true, tokenLimit: 130000 }, - "deepseek-v31-terminus": { - displayName: "DeepSeek V3.1 Terminus", - shortName: "DeepSeek V3.1", - badges: ["Pro", "New"], - requiresPro: true, - tokenLimit: 130000 - }, "gpt-oss-120b": { displayName: "OpenAI GPT-OSS 120B", shortName: "GPT-OSS", @@ -114,7 +107,7 @@ export const CATEGORY_MODELS = { free: "llama-3.3-70b", quick: "gpt-oss-120b", reasoning_on: "deepseek-r1-0528", // R1 with thinking - reasoning_off: "deepseek-v31-terminus", // V3.1 without thinking + reasoning_off: "deepseek-r1-0528", // R1 without thinking (brain toggle temporarily disabled) math: "qwen3-coder-480b", image: "qwen3-vl-30b" // Qwen3-VL for image analysis }; diff --git a/frontend/src/components/UnifiedChat.tsx b/frontend/src/components/UnifiedChat.tsx index 6692b5ec..f72d8076 100644 --- a/frontend/src/components/UnifiedChat.tsx +++ b/frontend/src/components/UnifiedChat.tsx @@ -2525,39 +2525,41 @@ export function UnifiedChat() { } /> - {/* Thinking toggle button - only visible when reasoning model is selected */} - {(localState.model === CATEGORY_MODELS.reasoning_on || - localState.model === CATEGORY_MODELS.reasoning_off) && ( - - )} + ? "Disable thinking mode" + : "Enable thinking mode" + } + > + + + )} {/* Web search toggle button - always visible */} - )} + ? "Disable thinking mode" + : "Enable thinking mode" + } + > + + + )} {/* Web search toggle button - always visible */}