Claude Code ignores the model switch in an old window - CC Switch
Quick fix
A Claude Code session already open does not pick up a model switch in cc-switch. Close and reopen the window, or use the new model in a new window.
Symptom
Section titled “Symptom”trae里使用Claude code vs插件时用cc switch切换opus 4.8模型原对话框没反应,开新窗口才可以用切换的模型,怎么让旧窗口可以使用切换的模型,项目都在旧窗口里,好像是有模型锁,这个要怎么解决Using the Claude Code vs plugin in trae, switching to the opus 4.8 model with cc switch does nothing in the existing dialog — only a new window uses the switched model. How do I make the old window use the switched model? All my projects are in the old window. It looks like there is a model lock. How do I resolve this?
The behaviour is that after switching models in cc-switch, an already-open Claude Code window or plugin dialog keeps using the original model, and the new model configuration does not apply to the existing session immediately. The user describes it as "the existing dialog does nothing" and "only a new window uses the switched model", and guesses there is a model lock.
The input also contains another related variant: opening Claude Code from the model screen produces a command-line error about a truncated command, such as 'r-specific' or 'tings' not being an internal or external command — apparently the log or command string "Using provider-specific claude config:" being truncated wrongly. That variant is not the same error as the old window not applying the switch, but both belong to this cluster of model-switching / Claude Code launch problems.
After switching models, close the current Claude Code window, terminal session, or IDE plugin dialog.
Reopen Claude Code or start a new session window, and confirm the new session uses the switched model.
If opening Claude Code from the cc-switch model screen reports 'r-specific' or 'tings' is not an internal or external command, avoid that entry point: start Claude Code from a terminal by hand, and retry after upgrading to a newer version.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 2 real issues
- Why does nothing change in the old window after switching models?
- A Claude Code session already open does not apply a cc-switch model switch automatically. You have to close the old window or start a new session for it to take effect.
- Can I make the old window use the new model directly?
- Per the issue, there is currently no way to apply the new model to an old window immediately; users report that a new window uses the switched model.
- Opening Claude Code from the model screen reports 'r-specific' is not an internal or external command. What now?
- That is the other related variant, apparently a truncated command or log string. Do not launch from that entry point — open a terminal and run Claude Code by hand, then upgrade cc-switch and see whether it is fixed.
- Is this related to a model lock?
- The user guesses in the issue that it looks like a model lock, but no maintainer confirmed that. The observable behaviour is that an existing session does not refresh the model configuration automatically.
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.