mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-11 08:22:09 -05:00
feat: Add "Delete All Prompts" functionality with robust confirmation #5064
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 @geiras on GitHub (May 6, 2025).
Check Existing Issues
Problem Description
Yes. Currently, if a user needs to delete multiple prompts (e.g., after a bulk import that wasn't configured correctly, or simply to clear out old/experimental prompts), they must delete each prompt individually. This process is extremely time-consuming and tedious, especially when dealing with a large number of prompts (e.g., 10, 30, or more).
I recently experienced this firsthand: I imported a batch of prompts from another tool via JSON. After importing, I realized the JSON generation missed some parameters (like variable usage). To correct this, I had to re-import, but first, I needed to remove the incorrectly imported prompts. Deleting them one by one was painstakingly slow and frustrating.
Desired Solution you'd like
I propose adding a "Delete All Prompts" feature to Open WebUI. This feature would allow users to remove all their saved prompts in a single action.
Crucially, this action must be protected by a very robust, multi-step confirmation process to prevent accidental data loss. For example:
Alternatives Considered
The current alternative is deleting prompts one by one, which is not a viable solution for managing prompts at scale or correcting bulk import errors efficiently.
Additional Context
This feature request is related to the Open WebUI interface and prompt management within it, not Ollama itself.
@Classic298 commented on GitHub (May 6, 2025):
Inverted of delete all, a method to select multiple prompts quickly and then delete them im bulk is perhaps safer than a single button