Agent interruption
You can stop an active agent response at any time.
During an agent response, the disabled button changes to a .
When you click , the system performs these actions:
- Halts token streaming to the UI within one second.
- Cancels any in-flight tool calls or API calls that the agent initiated.
- Stops all spawned sub-agents in a controlled manner.
- Marks the run as canceled in session history.
After cancellation, changes back to .
The conversation remains in the same session, and the next user message proceeds without interruption.