Skip to content

[Feature]: Edit button on user messages (similar to t3chat) #2438

@theonekeyg

Description

@theonekeyg

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I am describing a concrete problem or use case, not just a vague idea.

Area

apps/desktop

Problem or use case

I want to have an "Edit" button on the user's message on the UI, that would allow to restart the session with edited/corrected user message. Similar mechanic to the one on t3.chat.

Proposed solution

"Edit" button would allow the user to 'rollback' the context back to the selected message and would restart the agent with that context. This is a common usecase (at least for me) when you realize the agent is going the wrong way, or if you forgot to put something in the prompt, or realize you're doing the wrong task. Basically when you suddenly got some useless context and want to checkout it to some point in history.

Why this matters

Better UX.

Smallest useful scope

A pass is an edit button similar to t3.chat.

Alternatives considered

Don't really see workarounds, I guess you could fork the thread, but it still does not allow to reset the context to the point of the message. Also that's not the best industry UX, that was marginally improved by projects like t3chat.

Risks or tradeoffs

Storing the context for this feature sounds complex, considering possible session compacts along the way after the message. But maybe I overestimate the complexity. Want to know maintainer's view on this feature first.

Examples or references

Image

Contribution

  • I would be open to helping implement this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequested improvement or new capability.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions