mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 16:39:22 +08:00
- `fetch_claude_code_catalog()` reads the account's model list from the Claude Code CLI handshake (`get_server_info`), so no model request is made, and returns display names such as "Opus 5.5" and "Fable 5.1". The `default` entry is labelled "Default (account setting)" because managed or user settings can pin a different model at run time. It falls back to the bare aliases when the CLI cannot start. - `/api/settings/fetch-models` returns those names for `claude_code`. - Settings UI: `codebuddy` and `claude_code` now share a CLI_LOGIN_BINDINGS set. Claude Code gets the same "Sync models" button, auto-sync on provider switch, and hidden base URL / API key fields, without the CodeBuddy login card. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>