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
When I cancel an in-progress turn (Esc / Ctrl-C), the line Operation cancelled by user is sent back to the model as if it were a new user message (it arrives with its own fresh timestamp). The agent then "replies" to it as though it were a real instruction/content, instead of the cancel simply aborting the current operation silently.
This produces phantom turns: every cancel results in the assistant responding to nothing.
Expected behavior
Cancelling a turn should abort the current operation and return to the prompt without injecting Operation cancelled by user into the conversation as a user turn. The model should not be prompted to respond to it.
Steps to reproduce
Send a prompt that triggers tool calls / a longer operation.
Cancel mid-operation (Esc / Ctrl-C).
Observe Operation cancelled by user appears as a user message with a new timestamp, and the assistant generates a reply addressed to it.
Notes
Reported as a regression — a user observed this did not happen in earlier versions.
Type rg --version### What happened?
When I cancel an in-progress turn (Esc / Ctrl-C), the line
Operation cancelled by useris sent back to the model as if it were a new user message (it arrives with its own fresh timestamp). The agent then "replies" to it as though it were a real instruction/content, instead of the cancel simply aborting the current operation silently.This produces phantom turns: every cancel results in the assistant responding to nothing.
Expected behavior
Cancelling a turn should abort the current operation and return to the prompt without injecting
Operation cancelled by userinto the conversation as a user turn. The model should not be prompted to respond to it.Steps to reproduce
Operation cancelled by userappears as a user message with a new timestamp, and the assistant generates a reply addressed to it.Notes
Version
1.0.63
OS
macOS (Darwin)