From df11a386b08b17f6423b7d17d633615f826754ef Mon Sep 17 00:00:00 2001 From: MiXaiLL76 Date: Thu, 30 Apr 2026 22:50:16 +0300 Subject: [PATCH] remove unused --- backend/open_webui/retrieval/vector/async_client.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/open_webui/retrieval/vector/async_client.py b/backend/open_webui/retrieval/vector/async_client.py index ddb073add7..0c78652683 100644 --- a/backend/open_webui/retrieval/vector/async_client.py +++ b/backend/open_webui/retrieval/vector/async_client.py @@ -109,9 +109,8 @@ class AsyncVectorDBClient: collection_name: str, filter: Dict, limit: Optional[int] = None, - query: Optional[str] = None, ) -> Optional[GetResult]: - return await asyncio.to_thread(self._sync.query, collection_name, filter, limit, query) + return await asyncio.to_thread(self._sync.query, collection_name, filter, limit) async def get(self, collection_name: str) -> Optional[GetResult]: return await asyncio.to_thread(self._sync.get, collection_name)