End Of Life
Important
The Prune Tool is now legacy and will not be maintained any further
The approach used by the prune tool here had some downsides with Kubernetes setups and was not very handy to use in day-to-day scenarios since it always required CLI access.
Successor:
The direct successor to this repository is the Prune Event Function found in my other repo here
It is easy to install, has a UI, is automated, and strictly better than the version in this repository.
Since maintaining both is not economical this repository is now LEGACY and will be archived (made read only) in the future.
You should no longer use this tool. As time passes, it will stop working with newer versions of Open WebUI.
If you ever encounter any bugs with this tool, they will NOT be fixed. Only the new Prune Event Function will receive support (as much as I can ofc).
Again thank you to everyone who helped test this, submitted PRs here and helped with the continuous improvement. The development is not dead, it just shifted to the other repo into a new event function.
So: Go to the other repo and download the Prune Event Function. It is the direct successor, already has more features, works better, better performance, many bug fixes this repository does not have and will never get that prevent wrongful deletions and much more.
Thanks for the journey and Enjoy the improved version on the Plugins Repo!