Skip to content

Interrupting agent mid-response switches context to 2 and freezes further prompts #1008

Closed as not planned

Description

@FrankTub

When I interrupt an agent in the middle of an answer, it will switch back the context to 2 and immediately stop responding to any prompts.

Note: I also had to create a new session in order to be able to provide this feedback, so I can't provide details of my original session where this occurred.


Metadata

Field Value
CLI Version 0.9.1
Platform darwin
Architecture arm64
OS Release 25.5.0
Category bug

Activity

  1. sahrizvi commented on Jul 21, 2026

    @sahrizvi
    Collaborator

    Hi @FrankTub — thanks for filing this. Could you clarify what you meant by "switches back the context to 2"? A couple of possibilities to help disambiguate:

    • Was it a number displayed somewhere in the UI (e.g. in the sidebar or a footer)?
    • A session/tab you were switched to?
    • Something else entirely?
  2. FrankTub commented on Jul 21, 2026

    @FrankTub
    Author

    @sahrizvi it was the number displayed as the number of token in the context window. So for example my context window was 140k tokens or something, then I interrupt the agent midresponse. And then the context window that is shown goes back to 2 and the session becomes unresponsive. I could type something and it just returns straight away. If I'm allowed to test altimate code again and I have it again I will add a screen shot as well

  3. sahrizvi commented on Jul 21, 2026

    @sahrizvi
    Collaborator

    Thanks for the helpful clarification @FrankTub. Investigating this and will fix it ASAP.

  4. anandgupta42 commented on Nov 5, 2026

    @anandgupta42
    Contributor

    Closing as stale: this was reported on a much older release and there is no reproduction on current versions. Please reopen with details (version, terminal, steps) if it still happens on v0.12.9 or later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions