Skip to content

Agent isn't aware of interrupted responses #285

@Yahiewi

Description

@Yahiewi

Currently the agent isn't aware of the response it started generating if the user chooses to interrupt it using Stop Streaming.
History seems to be corrupted a bit when interrupting the agent:

Screencast.from.2026-03-06.14-12-49.mp4

This example shows a conversation that went like this:
-User: "Generate a long poem"
-Claude: Starts generating poem titled "The Wanderer's Chronicle" then gets interrupted by the user
-User: "What was the last prompt and what was your response to it?"
-Claude: Generates another poem title "The Journey of Stars" first and says he has interpreted the last prompt as "Generate a long poemWhat was the last prompt and what was your response to it?"

Image

Sometimes the scenario is slightly different with the AI responding to only the second prompt when prompted again. However, it is always unaware of the response it started generating.

I tried this same test with ChatGPT and Claude (web versions) and they both were able to answer me correctly on the content of the response they started generating. I also tried Copilot which surprisingly failed at this and Google Antigravity which passed this test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions