Timothy Jaeryang Baek 2 月之前
父节点
当前提交
46ac6f2b29
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      backend/open_webui/retrieval/vector/dbs/chroma.py

+ 3 - 1
backend/open_webui/retrieval/vector/dbs/chroma.py

@@ -108,7 +108,9 @@ class ChromaClient:
                 )
                 )
             return None
             return None
         except Exception as e:
         except Exception as e:
-            log.exception(f"Error querying collection {collection} with limit {limit}: {e}")
+            log.exception(
+                f"Error querying collection {collection_name} with limit {limit}: {e}"
+            )
             return None
             return None
 
 
     def get(self, collection_name: str) -> Optional[GetResult]:
     def get(self, collection_name: str) -> Optional[GetResult]: