mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-06-16 13:34:04 +08:00
When proxy takeover is active, write per-role *_MODEL aliases for routing and *_MODEL_NAME with the upstream provider's real model name so the Claude Code model menu reflects the active provider instead of stale display names from a previous switch. Preserves the [1M] capability marker for Sonnet/Opus, and strips it from implicit display names.