diff --git a/cognee/infrastructure/databases/vector/chromadb/ChromaDBAdapter.py b/cognee/infrastructure/databases/vector/chromadb/ChromaDBAdapter.py index 96e0a3bf6..aec33abe2 100644 --- a/cognee/infrastructure/databases/vector/chromadb/ChromaDBAdapter.py +++ b/cognee/infrastructure/databases/vector/chromadb/ChromaDBAdapter.py @@ -538,7 +538,7 @@ class ChromaDBAdapter(VectorDBInterface): Returns True upon successful deletion of all collections. """ client = await self.get_connection() - collections = await self.list_collections() + collections = await client.list_collections() for collection_name in collections: await client.delete_collection(collection_name) return True