mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 14:39:31 -05:00
[PR #12476] [MERGED] fix: Avoid secondary error when collection is empty in parallel hybrid search #22924
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/12476
Author: @Phlogi
Created: 4/5/2025
Status: ✅ Merged
Merged: 4/5/2025
Merged by: @tjbck
Base:
dev← Head:dev-hybrid-search📝 Commits (1)
8cf8121Update utils.py📊 Changes
1 file changed (+3 additions, -5 deletions)
View changed files
📝
backend/open_webui/retrieval/utils.py(+3 -5)📄 Description
Checklist
devbranch.Changelog Entry
Description
Fixed
Additional Information
Error output before (2 errors)
Notice the: | ERROR | open_webui.retrieval.utils:process_query:317 - Error when querying the collection with hybrid_search: 'NoneType' object has no attribute 'documents' - {}
Error output after PR (one error only, no data in collection)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.