Files
open-webui/backend/open_webui
Classic298 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-17 02:52:35 +02:00
2026-06-29 00:21:37 -05:00
2026-06-01 14:10:40 -07:00
2026-06-29 00:46:45 -05:00
2026-06-17 03:01:11 +02:00
2026-06-29 01:52:07 -05:00
2026-06-28 23:02:38 -05:00
2026-06-25 15:56:10 +01:00
2026-06-29 00:40:28 -05:00