Description
Title: Claude Sonnet 4.6 with medium thinking gets stuck in reasoning loop on Windows (PowerShell)
Body:
Description
When using Claude Sonnet 4.6 with medium thinking enabled, the model gets stuck in a loop where it plans and describes file changes entirely within the thinking/reasoning block but never executes the actual tool calls. Sometimes it even writes code inside the thinking trace instead of outputting it.
Environment
- OS: Windows (PowerShell)
- Model:
claude-sonnet-4-6
- Thinking: medium
- OpenCode version: [1.14.48]
Steps to reproduce
- Open a project in OpenCode
- Select Claude Sonnet 4.6 with medium thinking
- Ask the model to edit or refactor a file
- Observe that changes are described in the thinking trace but no tool calls are executed
Expected behavior
Model completes thinking phase then executes tool calls to make the actual file changes.
Actual behavior
Model loops inside the thinking trace, planning changes but never acting on them. In some cases it writes code directly in the thinking block.
Related issues
Plugins
No response
OpenCode version
1.14.48
Steps to reproduce
Steps to reproduce
- Open a project in OpenCode
- Select Claude Sonnet 4.6 with medium thinking
- Ask the model to edit or refactor a file
- Observe that changes are described in the thinking trace but no tool calls are executed
Screenshot and/or share link
No response
Op
[Truncado — 1552 chars totais]
Description
Title: Claude Sonnet 4.6 with medium thinking gets stuck in reasoning loop on Windows (PowerShell)
Body:
Description
When using Claude Sonnet 4.6 with medium thinking enabled, the model gets stuck in a loop where it plans and describes file changes entirely within the thinking/reasoning block but never executes the actual tool calls. Sometimes it even writes code inside the thinking trace instead of outputting it.
Environment
claude-sonnet-4-6Steps to reproduce
Expected behavior
Model completes thinking phase then executes tool calls to make the actual file changes.
Actual behavior
Model loops inside the thinking trace, planning changes but never acting on them. In some cases it writes code directly in the thinking block.
Related issues
Plugins
No response
OpenCode version
1.14.48
Steps to reproduce
Steps to reproduce
Screenshot and/or share link
No response
Op