Open
Description
App Version
3.21.1 (6ca706b)
API Provider
OpenRouter
Model Used
anthropic/claude 4.0 sonnet (thinking/reasoning enabled)
🔁 Steps to Reproduce
- Start a task with Claude 4.0 Sonnet (reasoning enabled)
- Wait for the thinking phase to begin (model shows "thinking" indicator)
- Click the Cancel button during the thinking phase
- Observe the error message: red "API Streaming Failed" with message
[RooCode#say] task [task-id] aborted
- Start another task with the same model configuration
- Wait for the results streaming phase to begin (after thinking is complete)
- Click the Cancel button during the results streaming phase
- Observe the different message: grey "API Request Cancelled"
💥 Outcome Summary
Expected: Both cancellations should show the same consistent "API Request Cancelled" message since both are user-initiated cancellations.
Actual: Canceling during thinking phase shows misleading red "API Streaming Failed" error, while canceling during streaming shows correct grey "API Request Cancelled" message.
📄 Relevant Logs or Errors
[RooCode#say] task 2c076f0b-0f17-4270-86b0-baf3d264f1f5.34535c05 aborted
Related Issues
Related to #4039 - This issue affects reasoning models beyond just DeepSeek R1, including Claude 4.0 Sonnet via OpenRouter.
Metadata
Metadata
Assignees
Type
Projects
Status
Issue [In Progress]