mirror of
https://github.com/open-webui/open-webui
synced 2025-03-04 11:29:59 +00:00
refac
This commit is contained in:
parent
fa91d83ac3
commit
34aeaaf020
@ -108,9 +108,7 @@ class ChromaClient:
|
|||||||
)
|
)
|
||||||
return None
|
return None
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
log.exception(
|
log.exception(f"{e}")
|
||||||
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]:
|
||||||
|
Loading…
Reference in New Issue
Block a user