chore: surface claude_agent first in CLI and clean up model labels

Move Claude Agent to the top of the provider list so it's the default
highlight. Drop the redundant "(via Claude Code, Max subscription)"
suffix on each model entry — the provider step already makes the auth
path clear — and expose all three tiers (Opus / Sonnet / Haiku) in
both the quick and deep lists, ordered by the sensible pick for each.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Michael Yang 2026-04-14 17:12:56 -04:00
parent 4434692e25
commit 39182785ce
2 changed files with 10 additions and 5 deletions

View File

@ -232,10 +232,10 @@ def select_llm_provider() -> tuple[str, str | None]:
"""Select the LLM provider and its API endpoint."""
# (display_name, provider_key, base_url)
PROVIDERS = [
("Claude Agent (Max subscription, no API key)", "claude_agent", None),
("OpenAI", "openai", "https://api.openai.com/v1"),
("Google", "google", None),
("Anthropic", "anthropic", "https://api.anthropic.com/"),
("Claude Agent (Max subscription, no API key)", "claude_agent", None),
("xAI", "xai", "https://api.x.ai/v1"),
("DeepSeek", "deepseek", "https://api.deepseek.com"),
("Qwen", "qwen", "https://dashscope.aliyuncs.com/compatible-mode/v1"),

View File

@ -37,13 +37,18 @@ MODEL_OPTIONS: ProviderModeOptions = {
],
},
"claude_agent": {
# Values are the short aliases Claude Code accepts on the CLI
# (`claude --model sonnet`). They auto-track the latest version for
# each tier, so no dated model IDs to maintain here.
"quick": [
("Claude Sonnet (via Claude Code, Max subscription)", "sonnet"),
("Claude Haiku (via Claude Code, Max subscription)", "haiku"),
("Claude Sonnet - Balanced speed and intelligence", "sonnet"),
("Claude Haiku - Fastest, cheapest", "haiku"),
("Claude Opus - Most capable (slower)", "opus"),
],
"deep": [
("Claude Opus (via Claude Code, Max subscription)", "opus"),
("Claude Sonnet (via Claude Code, Max subscription)", "sonnet"),
("Claude Opus - Most intelligent, deepest reasoning", "opus"),
("Claude Sonnet - Balanced speed and intelligence", "sonnet"),
("Claude Haiku - Fastest (lower quality)", "haiku"),
],
},
"google": {