Skip to content

Conversation

@Tarquinen
Copy link
Contributor

Fixes /undo and /redo commands restoring to "ignored" messages when they should only restore to real user messages.

Ignored messages have ignored: true on their text parts and are meant for UI display only - they were never part of the actual conversation with the model.

Updates message filtering to check that the message has at least one text part that is neither synthetic nor ignored. Also fixes prompt restoration to exclude ignored parts.

@github-actions
Copy link
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant