diff --git a/backend/open_webui/retrieval/utils.py b/backend/open_webui/retrieval/utils.py index 055f750122..b1597aa2db 100644 --- a/backend/open_webui/retrieval/utils.py +++ b/backend/open_webui/retrieval/utils.py @@ -838,6 +838,7 @@ async def query_collection_with_hybrid_search( return name, await ASYNC_VECTOR_DB_CLIENT.get(collection_name=name) except Exception as e: log.exception(f'Failed to fetch collection {name}: {e}') + failed_collection_names.add(name) return name, None collection_results = dict(await asyncio.gather(*(_fetch_collection(name) for name in collection_names)))