Skip to content

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

test(tools): add memory engine binding to catalog fixture test

Steven Enamakel7a0b6b2de851
diff --git a/crates/openhuman-core/src/tools/ops_tests_catalog_fixture_tests.rs b/crates/openhuman-core/src/tools/ops_tests_catalog_fixture_tests.rs
index 0cc080a341..cbe30aa557 100644
--- a/crates/openhuman-core/src/tools/ops_tests_catalog_fixture_tests.rs
+++ b/crates/openhuman-core/src/tools/ops_tests_catalog_fixture_tests.rs
@@ -104,6 +104,10 @@ fn full_tool_catalog_names() -> Vec<String> {
);
cfg.search.credentials_mut(provider).unwrap().api_key = Some(key.into());
}
+ // Memory registers its `memory` tool only while an engine is usable (a
+ // signed-in user, or a CortexDB key). Bind the reference engine so the
+ // catalog is the one a signed-in user sees.
+ crate::memory::test_fixtures::bind_reference(&cfg);
let browser = cfg.browser.clone();
let http = cfg.http_request.clone();