mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-17 08:21:12 -05:00
[PR #24790] refactor: remove unused POST /retrieval/query/collection endpoint #115156
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/24790
Author: @Classic298
Created: 5/15/2026
Status: 🔄 Open
Base:
dev← Head:remove-unused-retrieval-query-collection-endpoint📝 Commits (1)
c4b7f24refactor: remove unused POST /retrieval/query/collection endpoint📊 Changes
2 files changed (+0 additions, -102 deletions)
View changed files
📝
backend/open_webui/routers/retrieval.py(+0 -65)📝
src/lib/apis/retrieval/index.ts(+0 -37)📄 Description
The query-collections debug endpoint's only frontend wrapper, queryCollection in src/lib/apis/retrieval/index.ts, is dead: nothing imports or calls it, the route handler has no internal caller, and the path is referenced nowhere else. Removes the route handler, its exclusive QueryCollectionsForm request model, and the dead wrapper. The shared RAG internals (query_collection, query_collection_with_hybrid_search, _validate_collection_access) are untouched.
Contributor License Agreement
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.