Skip to content

bug: hitting /undo after answering question undoes last prompt #12625

Closed as not planned

Description

@goszczynskip

Description

When I want /undo after answering question I expect to get back to the same question so I can answer differently.

Currently I'm undoing the last message preceding question. Wasting all model analysis between last message and question asked.

Plugins

No response

OpenCode version

v1.1.53

Steps to reproduce

  1. Make model ask question
  2. Answer it
  3. hit /undo
  4. Back at the start :(

Screenshot and/or share link

No response

Operating System

macOS 26.2

Terminal

Ghostty

Activity

  1. github-actions commented on Feb 7, 2026

    @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.

  2. joloppo commented on Apr 6, 2026

    @joloppo

    I agree, this is very annoying as you are likely to undo to a specific question when there are large amounts of refinements going on, so you are likely to lose a lot of work when trying to undo back to the previously answered question.

  3. removed
    bugSomething isn't working
    on May 3, 2026
  4. github-actions commented on Jul 3, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 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

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions