You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Claude Sonnet 4.6 with medium thinking gets stuck in reasoning loop on Windows (PowerShell) #27062
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.
Activity
github-actions commentedon May 12, 2026
This issue might be a duplicate of existing issues. Please check:
If your issue is distinct (e.g., Windows/PowerShell-specific behavior), please add details clarifying the difference.
github-actions commentedon Jul 12, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.