Skip to content

[FEATURE]: undo last prompt if it exceeds token limit #3463

Closed

Description

@bcardarella

Feature hasn't been suggested before.

  • 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

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Oct 26, 2025
  2. github-actions commented on Oct 26, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  3. rekram1-node commented on Oct 26, 2025

    @rekram1-node
    Contributor

    you can use /undo to make it exit context, say if you wanted to edit the prompt you sent to remove eztra tokens

  4. bcardarella commented on Oct 26, 2025

    @bcardarella
    Author

    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

  5. rekram1-node commented on Oct 26, 2025

    @rekram1-node
    Contributor

    nice just wanted to make sure u were aware of that option, this makes sense itd be useful fot sure

  6. thdxr commented on Mar 25, 2026

    @thdxr
    Member

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionUsed for feature requests, proposals, ideas, etc. Open discussion

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions