model does not support thinking - Claude Code
Quick fix
在 cc-switch 高级设置里关掉整流器(Proxy Rectifier),或升到修复版本;Qwen 工具调用死循环、空 thinking block 等变体仍未解决。
Symptom
Section titled “Symptom”thinking: model does not support thinking, stripping config | provider=iflow model=deepseek-v3.2-reasonercc-switch 在转发第三方模型(如 DeepSeek、GLM、Qwen)的请求时,对 `thinking` 和 `reasoning_content` 字段的处理存在多个版本的缺陷。在 v3.10.0 中,默认的整流器(Proxy Rectifier)会错误剥离思考配置或引发 406 错误。
此外,由于双向格式转换不完善,还可能引发其他变体问题:丢弃 `reasoning_content` 导致无限 tool-call 循环、思考块无限重复、在 text 后追加空 thinking block 导致 TUI 渲染错乱,以及 token 计数解析失败。
在 cc-switch 界面中,进入 Provider 的高级设置,关闭“整流器”(Proxy Rectifier)。
升级 cc-switch 至 v3.11.0 或更高版本,使用改进的 Thinking Budget Rectifier。对于 openai_chat 适配器,可在高级设置中开启 Thinking Mode(如可用)。
Affected Versions
Section titled “Affected Versions”ToolClaude Code / Codex
Version3.10.0 - 3.16.5
PlatformsWindowsLinuxmacOS
Source Issues
Section titled “Source Issues”本页汇总自 5 个真实 issue
- #7333.10.0无法使用反代thinking模式
- #2712Tool-call loop with Qwen3.5 / thinking models via openai_chat adapter
- #4247claude code 请求 newapi 站的 anthropic 端点 cc-switch 中 token 计数为0
- #4835DeepSeek 推理模型通过 CC Switch 转发时,思考块(thinking block)陷入无限循环重复
- #5257[Bug] v3.16.5 appends empty thinking block after text block, breaks Claude Code TUI rendering
- 为什么使用 cc-switch 终端能正常 thinking,但其他途径打开的 Claude Code 会报错 406?
- 这是因为其他途径触发了整流器的错误拦截。关闭高级设置中的整流器即可解决。
- 思考块陷入无限循环或 TUI 渲染每行只显示几个字符怎么办?
- 这是 cc-switch 对 `reasoning_content` 映射和 content_block 顺序处理的已知 Bug。建议升级到最新版本,或在高级设置中调整 Thinking Mode。
这是一个非官方社区 wiki,与 cc-switch 作者及项目本身无隶属关系。内容整理自项目公开的 GitHub issues。本站不分发任何软件。