From 46ac6f2b294b63e612e1a7570f067ed436fae879 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 26 Feb 2025 12:53:07 -0800 Subject: [PATCH] fix --- backend/open_webui/retrieval/vector/dbs/chroma.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/open_webui/retrieval/vector/dbs/chroma.py b/backend/open_webui/retrieval/vector/dbs/chroma.py index 81f7a1c5e..b4a79da04 100755 --- a/backend/open_webui/retrieval/vector/dbs/chroma.py +++ b/backend/open_webui/retrieval/vector/dbs/chroma.py @@ -108,7 +108,9 @@ class ChromaClient: ) return None 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 def get(self, collection_name: str) -> Optional[GetResult]: