Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(provider): handle missing memory provider gracefully\n\nWhen a memory provider is not configured, the system now returns an empty result instead of panicking. This change ensures that the application can start and operate without a memory provider, improving robustness in environments where memory features are optional.\n\nAuto-committed-on: dragonfly\n

Steven Enamakele91695f17586
diff --git a/src/openhuman/memory/ops/provider.rs b/src/openhuman/memory/ops/provider.rs
index 2e2f5b5f1c..745d1de70e 100644
--- a/src/openhuman/memory/ops/provider.rs
+++ b/src/openhuman/memory/ops/provider.rs
@@ -172,8 +172,13 @@ mod tests {
// serves — not the eighteen the contract crate declares. This used to
// assert all eighteen, including `chunks`, `episodic`, `people`,
// `profile`, and `retrieval`; that encoded #5598 as expected: those
- // five have no bus member in the pinned release, so calling them
+ // five had no bus member in the pre-v1.2.0 release, so calling them
// answered `UnknownMethod` rather than reporting themselves absent.
+ // The v1.2.0 re-pin gave `chunks`, `people`, `profile` and `retrieval`
+ // bus members, widening the boundary from thirteen to seventeen;
+ // `episodic` alone stays withheld, because the artifact serves it but
+ // `ModuleMemoryProvider` has no `as_episodic`, so advertising it would
+ // be the same over-claim in a different coat.
// `modules::memory::ARTIFACT_CAPABILITIES` was narrowed to match what
// is actually served (see its module docs); this pins the same
// corrected boundary. Spelled out rather than derived from