Commit Graph

4 Commits

Author SHA1 Message Date
kartik-mem0 406110460d refactor: add legacy_path override to legacy data migration helper 2026-04-02 19:23:38 +05:30
kartik-mem0 29b9059cea refactor: add legacy /tmp data migration to new vector store path 2026-04-02 18:59:09 +05:30
utkarsh240799 a84a565422 fix: resolve lint errors in test_default_path.py
Remove unused imports (os, tempfile), unused variables, and
extraneous f-string prefixes flagged by ruff.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 18:47:35 +05:30
utkarsh240799 0b397eaf06 fix: use persistent platform-appropriate dirs instead of /tmp for vector store defaults (#4279)
Replace hardcoded /tmp/{provider} default paths with XDG-compliant persistent
directories (~/.local/share/mem0/{provider}), fixing failures on Windows,
macOS LaunchAgents, Linux systemd, and Docker. Adds MEM0_DATA_DIR env var
override, legacy /tmp data migration warning, and updates Qdrant/ChromaDB/FAISS
configs and docs to use the new defaults.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 18:31:58 +05:30