Local routing uses a hardcoded default model (Claude Code)
Quick fix
Upgrade to cc-switch 4.0; the maintainer said many related issues may no longer exist after major configuration changes.
Symptom
Section titled “Symptom”开启本地路由之后,全局配置文件里面的模型是硬编码默认值After enabling local routing, the model in the global configuration file is a hardcoded default.
In a report about cc-switch 3.19.1, enabling local routing caused the global configuration file to use a hardcoded default model instead of the model configured for the provider, so the session used an unexpected model and the user had to edit the configuration file manually. Comments also said the model list showed only 7 models, without identifying the specific models. The maintainer grouped this issue with an existing set of issues and said cc-switch 4.0 substantially revised configuration switching and the interface, so many related issues may no longer exist. The issue did not confirm whether 4.0 fully fixes this specific case.
Upgrade to cc-switch 4.0. The maintainer recommended trying this version; if the issue still reproduces after upgrading, report it again with the version and reproduction steps.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 1 real issues
(No FAQ yet)
Related problems
Section titled “Related problems”This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.