Changed the default value in Mem0 config (#3216)
Some checks failed
Notify Downstream / notify-downstream (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled

* Changed the default value in Mem0 config

* Added regression test for this

* Fixed Linting issues
This commit is contained in:
Vidit Ostwal
2025-07-24 22:50:18 +05:30
committed by GitHub
parent d3b45d197c
commit 864e9bfb76
3 changed files with 21 additions and 4 deletions

View File

@@ -43,7 +43,7 @@ class Mem0Storage(Storage):
self.includes = cfg.get("includes")
self.excludes = cfg.get("excludes")
self.custom_categories = cfg.get("custom_categories")
self.infer = cfg.get("infer", False)
self.infer = cfg.get("infer", True)
def _initialize_memory(self):
api_key = self.config.get("api_key") or os.getenv("MEM0_API_KEY")