Files
open-webui/backend/open_webui/retrieval/vector
Classic298andGitHub 15d96b1f2a fix: chroma has_collection always returns False (name vs Collection) (#25780)
has_collection did `collection_name in self.client.list_collections()`,
but chromadb's list_collections() returns Collection objects (1.x), not
name strings — so the membership test is always False, even when the
collection exists. Compare against the collection names instead (with a
hasattr guard tolerating versions that yield plain names).

Found via the dependency-contract test suite (unit/deps/test_chromadb.py).
2026-06-29 02:15:05 -05:00
..
2026-06-22 16:10:19 +02:00
2026-06-22 16:10:19 +02:00
2026-06-29 02:03:58 -05:00