[GH-ISSUE #8928] Quickly clean up messages from other branches #15329

Closed
opened 2026-04-19 21:34:34 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @CookSleep on GitHub (Jan 25, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8928

Originally assigned to: @dannyl1u on GitHub.

Is your feature request related to a problem? Please describe.
I often use the regenerate or edit prompt and resend functions to get more satisfactory answers, which results in a large number of useless branches in the chat history. It would be great if I could directly delete unwanted messages by clicking on them in the branch tree, or if there was a function to clear all other branch messages with one click, leaving only the current conversation string!

Describe the solution you'd like
Directly delete unwanted messages by clicking in the branch tree, or add a one-click cleanup function for messages in other branches, leaving only the current conversation

Describe alternatives you've considered
Manually deleting, but it's slow.

Additional context
In addition, we don't have the function to delete a single model response yet. If what I said earlier was too complex, perhaps adding this function would be simpler and have a wider audience...?

Originally created by @CookSleep on GitHub (Jan 25, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/8928 Originally assigned to: @dannyl1u on GitHub. **Is your feature request related to a problem? Please describe.** I often use the regenerate or edit prompt and resend functions to get more satisfactory answers, which results in a large number of useless branches in the chat history. It would be great if I could directly delete unwanted messages by clicking on them in the branch tree, or if there was a function to clear all other branch messages with one click, leaving only the current conversation string! **Describe the solution you'd like** Directly delete unwanted messages by clicking in the branch tree, or add a one-click cleanup function for messages in other branches, leaving only the current conversation **Describe alternatives you've considered** Manually deleting, but it's slow. **Additional context** In addition, we don't have the function to **delete a single model response** yet. If what I said earlier was too complex, perhaps adding this function would be simpler and have a wider audience...?
Author
Owner

@dannyl1u commented on GitHub (Jan 31, 2025):

I'll confirm myself shortly but wondering if all messages in the branch tree get included in the context payload for further api calls

<!-- gh-comment-id:2626231373 --> @dannyl1u commented on GitHub (Jan 31, 2025): I'll confirm myself shortly but wondering if all messages in the branch tree get included in the context payload for further api calls
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#15329