Skip to content

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.

Error output
开启本地路由之后,全局配置文件里面的模型是硬编码默认值
English translation

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.

  1. 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.

ToolClaude Code
Version3.19.1(报告版本;维护者称 4.0 中许多相关问题已不存在)
PlatformsWindows

(No FAQ yet)

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.