mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-11 10:03:05 -05:00
[PR #24785] [MERGED] refactor: remove unused DELETE /chats/{id}/tags/all endpoint #131508
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/24785
Author: @Classic298
Created: 5/15/2026
Status: ✅ Merged
Merged: 5/19/2026
Merged by: @tjbck
Base:
dev← Head:remove-unused-chats-tags-all-endpoint📝 Commits (1)
d095534refactor: remove unused DELETE /chats/{id}/tags/all endpoint📊 Changes
3 files changed (+0 additions, -65 deletions)
View changed files
📝
backend/open_webui/models/chats.py(+0 -14)📝
backend/open_webui/routers/chats.py(+0 -20)📝
src/lib/apis/chats/index.ts(+0 -31)📄 Description
The bulk-clear-chat-tags endpoint's only frontend wrapper, deleteTagsById in src/lib/apis/chats/index.ts, is dead: nothing imports or calls it, the path is referenced nowhere else, and the route handler has no internal caller. Removes the route handler, the dead wrapper, and the now-orphaned Chats.delete_all_tags_by_id_and_user_id model method (its sole caller was this route). The shared
Chats.delete_orphan_tags_for_user method is untouched.
Contributor License Agreement
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.