Skip to content

Commit 46ac6f2

Browse files
committed
fix
1 parent 33d3558 commit 46ac6f2

File tree

1 file changed

+3
-1
lines changed
  • backend/open_webui/retrieval/vector/dbs

1 file changed

+3
-1
lines changed

backend/open_webui/retrieval/vector/dbs/chroma.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@ def query(
108108
)
109109
return None
110110
except Exception as e:
111-
log.exception(f"Error querying collection {collection} with limit {limit}: {e}")
111+
log.exception(
112+
f"Error querying collection {collection_name} with limit {limit}: {e}"
113+
)
112114
return None
113115

114116
def get(self, collection_name: str) -> Optional[GetResult]:

0 commit comments

Comments
 (0)