altimate-code icon indicating copy to clipboard operation
altimate-code copied to clipboard

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

Open FrankTub opened this issue 4 months ago • 4 comments

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

FrankTub avatar Jul 16 '26 09:07 FrankTub

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 avatar Jul 21 '26 05:07 sahrizvi

@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

FrankTub avatar Jul 21 '26 06:07 FrankTub

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

sahrizvi avatar Jul 21 '26 14:07 sahrizvi

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.

anandgupta42 avatar Nov 05 '26 21:11 anandgupta42