Skip to content

fix(tui): exclude reverted assistant reply when copying last message#5705

Merged
rekram1-node merged 1 commit into
anomalyco:devfrom
assagman:dev
Dec 17, 2025
Merged

fix(tui): exclude reverted assistant reply when copying last message#5705
rekram1-node merged 1 commit into
anomalyco:devfrom
assagman:dev

Conversation

@assagman

@assagman assagman commented Dec 17, 2025

Copy link
Copy Markdown
Contributor

previously, the "Copy last assistant message" action would copy the most recent assistant message even if that reply had been reverted, causing users to copy content that was no longer part of the active session state.

fixes: #5707

previously, the "Copy last assistant message" action would copy the
most recent assistant message even if that reply had been reverted,
causing users to copy content that was no longer part of the active
session state.

Signed-off-by: assagman <ahmetsercansagman@gmail.com>
@rekram1-node

Copy link
Copy Markdown
Collaborator

/review

@github-actions

Copy link
Copy Markdown
Contributor

lgtm

@rekram1-node
rekram1-node merged commit a1b68da into anomalyco:dev Dec 17, 2025
3 checks passed
rekram1-node pushed a commit that referenced this pull request Dec 27, 2025
…5705)

Signed-off-by: assagman <ahmetsercansagman@gmail.com>
xywsxp pushed a commit to xywsxp/opencode that referenced this pull request Apr 24, 2026
Rwanbt pushed a commit to Rwanbt/opencode that referenced this pull request May 5, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
avion23 pushed a commit to avion23/opencode that referenced this pull request Jun 10, 2026
Rwanbt pushed a commit to Rwanbt/opencode that referenced this pull request Jun 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Copy last assistant message does not respect revert operation

2 participants