Make memory provider pluggable (MemPalace) and add bundle script#1
Make memory provider pluggable (MemPalace) and add bundle script#1mandarab76 wants to merge 1 commit intoazd-build-deployfrom
Conversation
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Analysis CompleteGenerated ECC bundle from 1 commits | Confidence: 50% View Pull Request #2Repository Profile
Changed Files (7)
Top hotspots
Top directories
Likely Future Issues (1)
Suggested Follow-up Work (1)
Copy-ready bodies test: add regression coverage for scripts/mempalace_bundle.sh + src/backend/README.md ## Summary
- Add regression coverage for the recently touched code paths before more changes stack on top.
## Why
- Backfill regression coverage before another change set lands on the touched code paths.
## Touched paths
- `scripts/mempalace_bundle.sh`
- `src/backend/README.md`
## Validation
- Add or extend focused tests that exercise the touched paths.
- Run the affected test suite and verify the new coverage closes the gap.Generated Instincts (13)
After merging, import with: Files
|
Motivation
MEMORY_PROVIDER) so deployments can opt into the new MemPalace provider without changing agent code.scripts/mempalace_bundle.sh).Description
MEMORY_PROVIDERtoAppConfigwith default valuecosmosand load it from environment variables.context/memory_provider.pywithcreate_memory_context(session_id, user_id)that returns eitherCosmosMemoryContextorMemPalaceMemoryContextbased onMEMORY_PROVIDER.context/mempalace_memory_kernel.pystub that subclassesCosmosMemoryContextto represent the MemPalace provider implementation.kernel_agents/agent_factory.pyandutils_kernel.pyto usecreate_memory_contextinstead of constructingCosmosMemoryContextdirectly.scripts/mempalace_bundle.shto create and install a zip bundle containing the MemPalace backend files and document usage insrc/backend/README.md.Testing
Codex Task