model does not support thinking - Claude Code
Quick fix
Turn the Proxy Rectifier off in cc-switch advanced settings, or upgrade to a fixed version. Qwen tool call loops and empty thinking blocks remain unresolved.
Symptom
Section titled “Symptom”thinking: model does not support thinking, stripping config | provider=iflow model=deepseek-v3.2-reasonercc-switch has defects across several versions in how it handles the `thinking` and `reasoning_content` fields when forwarding requests for third-party models such as DeepSeek, GLM, and Qwen. In v3.10.0 the default Proxy Rectifier wrongly strips the thinking config or triggers a 406.
Because the two-way format conversion is incomplete, other variants follow: dropping `reasoning_content` causing an infinite tool-call loop, thinking blocks repeating endlessly, an empty thinking block appended after text scrambling TUI rendering, and token counting failing to parse.
In the cc-switch UI, open the provider's advanced settings and turn the 整流器 (Proxy Rectifier) off.
Upgrade cc-switch to v3.11.0 or newer for the improved Thinking Budget Rectifier. On the openai_chat adapter you can also enable Thinking Mode in advanced settings where available.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 5 real issues
- #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
- Why does thinking work in the cc-switch terminal while Claude Code opened another way reports 406?
- The other route triggers the rectifier intercepting wrongly. Turning the rectifier off in advanced settings resolves it.
- Thinking blocks loop endlessly, or TUI rendering shows only a few characters per line. What now?
- Those are known bugs in how cc-switch maps `reasoning_content` and orders content_block. Upgrade to the latest version, or adjust Thinking Mode in advanced settings.
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.