DeepSeek V4 Pro + Cline: infinite reasoning loop + suggestion to switch to Opus 4?
​
Hey,
I'm running Cline with DeepSeek V4 Pro (direct API, OpenAI Compatible provider) and I'm getting a weird behavior on complex tasks that I can't fully explain.
What happens:
Cline starts the task and generates a huge amount of reasoning tokens (lots of `...` scrolling for a while)
After some time, Cline stops and displays a message suggesting I switch to an Anthropic model like Opus 4 for complex tasks
If I click "Proceed anyway", it feels like the model restarts its reasoning from scratch — as if the accumulated context is lost or ignored — creating a kind of loop
My questions:
- Is this a known issue related to `reasoning_content` not being properly passed back by Cline between turns?
- Does "Proceed anyway" clear the reasoning context, or does it just dismiss the warning?
- Has anyone found a workaround? (disabling thinking mode? going through OpenRouter?)
- Is the Opus 4 suggestion message hardcoded in Cline or dynamic based on token count?
My current setup:
- Cline (latest version)
- Provider: OpenAI Compatible
- Base URL: https://api.deepseek.com
- Model: deepseek-v4-pro
Thanks in advance