Interrupting agent mid-response switches context to 2 and freezes further prompts
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 |
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?
@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
Thanks for the helpful clarification @FrankTub. Investigating this and will fix it ASAP.
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.