mem0
mem0 copied to clipboard
mem0migrations is always overriding the collection name
🐛 Describe the bug
This line here is overriding whatever collection name we set to mem0migrations. Why? Its only on the sync version.
https://github.com/mem0ai/mem0/blob/main/mem0/memory/main.py#L148
Hey @hayescode, this is basically to make sure that we store the migrations related information so that if schema changes later, we can migrate to a new version easily. But I agree that the way code is written is very confusing. We will fix it. cc @Dev-Khant
@deshraj @Dev-Khant This is still changing the collection i define in the VectorStoreConfig to mem0migrations. Can this please be looked into?