From 227baf709d87ce4ac957b797f8e0d65f8c0a0e33 Mon Sep 17 00:00:00 2001 From: 111wukong <96066236+111wukong@users.noreply.github.com> Date: Thu, 21 May 2026 02:26:00 +0800 Subject: [PATCH] fix(claude): add deepseek models to Claude Code model picker Users who route Claude Code through a custom model endpoint (e.g. via `cc switch`) need to select `deepseek-v4-pro` or `deepseek-v4-flash` from the model picker. Without these entries, the only way to switch models is to leave html-anything, change the CLI config, and reload. Closes #65 --- next/src/lib/agents/detect.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/next/src/lib/agents/detect.ts b/next/src/lib/agents/detect.ts index c72c8db..8f4520c 100644 --- a/next/src/lib/agents/detect.ts +++ b/next/src/lib/agents/detect.ts @@ -60,6 +60,11 @@ export const AGENTS: AgentDef[] = [ { id: "claude-opus-4-7", label: "claude-opus-4-7" }, { id: "claude-sonnet-4-6", label: "claude-sonnet-4-6" }, { id: "claude-haiku-4-5", label: "claude-haiku-4-5" }, + // DeepSeek models (via `cc switch` or direct config) — kept in the + // Claude Code picker so users who route Claude through a custom model + // endpoint can switch models without leaving html-anything's UI. + { id: "deepseek-v4-pro", label: "deepseek-v4-pro" }, + { id: "deepseek-v4-flash", label: "deepseek-v4-flash" }, ], }, {