Skip to content

Cancelling causes context loss #2324

Closed
Closed

Description

@pbjorklund

If the model decides to for instance run something that opens with $editor or tail -f or in general enter something interactive we either have to try to escape out with multiple escapes or worse do the spam ctrl c and go back with opencode -c.

My feeling is that before it could include the "cancelled out" context. For instance the log output that was displayed on the screen during the tail session or similar.

Now if I cancel out and re-send the last message it seems that the previous message/response is totally ignored.

Check end of https://opencode.ai/s/1CJMP6HC to see what I mean.

0.5.29, archbtw, copilot-sonnet-4

Activity

  1. github-actions commented on Aug 30, 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.

  2. rekram1-node commented on Sep 13, 2025

    @rekram1-node
    Contributor

    this should be fixed in next release

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