Skip to content

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

test(user_agents): update memory_recall visibility assertion

Steven Enamakelc8d16528303b
diff --git a/crates/openhuman-core/src/user_agents/surface_tests.rs b/crates/openhuman-core/src/user_agents/surface_tests.rs
index ca40c8798f..126e8476bc 100644
--- a/crates/openhuman-core/src/user_agents/surface_tests.rs
+++ b/crates/openhuman-core/src/user_agents/surface_tests.rs
@@ -55,7 +55,12 @@ fn chat_is_open_but_other_channel_methods_are_not() {
"openhuman.threads_regenerate",
false
));
- assert!(visible_in(true, true, "openhuman.memory_recall", false));
+ assert!(visible_in(
+ true,
+ Scope::User,
+ "openhuman.memory_recall",
+ false
+ ));
for method in [
"openhuman.memory_engine_set",
"openhuman.memory_policy_set",