You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: undo last prompt if it exceeds token limit #3463
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
If a prompt exceeds token limit (i.e. I ask LLM to pull down a large file to analyze) then I follow up with a prompt that should fit the request still exceeds token limit becuase the previous token exceeding prompt is still in the context. It would be nice UX to undo that exceeding prompt or don't put it into the history entirely
I know, what I'm suggesting is that this is automatic. If the token limits exceeds there is no reason to keep that prompt in the history as it will just do so again
Activity
github-actions commentedon Oct 26, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
rekram1-node commentedon Oct 26, 2025
you can use /undo to make it exit context, say if you wanted to edit the prompt you sent to remove eztra tokens
bcardarella commentedon Oct 26, 2025
I know, what I'm suggesting is that this is automatic. If the token limits exceeds there is no reason to keep that prompt in the history as it will just do so again
rekram1-node commentedon Oct 26, 2025
nice just wanted to make sure u were aware of that option, this makes sense itd be useful fot sure
thdxr commentedon Mar 25, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.