docs: document memory backend fallback behavior#822
Conversation
Co-authored-by: Mervin Praison <MervinPraison@users.noreply.github.com>
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
There was a problem hiding this comment.
Code Review
This pull request adds a new 'Backend Fallback' section to the advanced memory documentation, detailing how PraisonAI automatically falls back to SQLite when configured backends like Redis, Valkey, or Postgres are unavailable. It includes a Python code example, a Mermaid architecture diagram, a fallback behavior table, and troubleshooting steps for a legacy schema error. The review feedback suggests updating the MongoDB row in the fallback table to specify that it raises an ImportError for consistency with the Mem0 row.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| | `sqlite` | n/a (native) | `memory_adapter.*` (direct) | | ||
| | `file` | n/a (native) | FileMemory (direct) | | ||
| | `mem0` | raises `ImportError` | direct Mem0 client | | ||
| | `mongodb` | raises error | direct Mongo client | |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughA new "Backend Fallback" section is added to ChangesBackend Fallback documentation
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Warning Review ran into problems🔥 ProblemsGit: Failed to clone repository. Please run the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
Summary
docs/features/advanced-memory.mdxbetween "Configuration Options" and "Quality Scoring System"<Note>callout about PR #2190, and a troubleshooting<AccordionGroup>docs/concepts/(HUMAN-ONLY per AGENTS.md rule 1.8)Fixes #820
Upstream fix: MervinPraison/PraisonAI#2190
Generated with Claude Code
Summary by CodeRabbit