Open curious-broccoli opened 2 months ago
Hey @curious-broccoli, thanks for bringing this to our attention. Indeed, generic value errors like this one cause the server to return a pretty generic exception, str(e)
, and then the client handles it as a generic Exception with raise_for_status().
We have a PR that addresses this to a certain degree, in addition to other issues - #1494.
What happened?
Maybe this is intended, but the docs for Collection.delete say that it should raise ValueError if e.g. no ids are passed. But it raises an Exception.
Versions
Client: chromadb 0.5.0 or chromadb-client 0.5.5.dev0, Python 3.12.4 Server: docker image chromadb/chroma:0.5.4
Relevant log output