mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[GH-ISSUE #8928] Quickly clean up messages from other branches #15329
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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...?
@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