Skip to content

Commit 844992a

Browse files
committed
fix bug
1 parent 6eb1647 commit 844992a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/clients/chroma/configure.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def recreate(self, dataset: Dataset, collection_params):
3737
params = self.collection_params
3838
params["metadata"] = dict(
3939
{"hnsw:space": self.DISTANCE_MAPPING.get(dataset.config.distance)},
40-
**params.get("config", {}),
40+
**params.pop("config", {}),
4141
)
4242
self.client.create_collection(
4343
name=CHROMA_COLLECTION_NAME,

0 commit comments

Comments
 (0)