Skip to content

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

test(embed): update expected tool list for deferred tools

Steven Enamakel2bf9a39a72ee
diff --git a/crates/openhuman-embed/tests/profile_operator_tools.rs b/crates/openhuman-embed/tests/profile_operator_tools.rs
index ddd477e5b4..e0f14c0ce8 100644
--- a/crates/openhuman-embed/tests/profile_operator_tools.rs
+++ b/crates/openhuman-embed/tests/profile_operator_tools.rs
@@ -151,7 +151,9 @@ async fn scenario() {
let requests = chat_requests(&chat).await;
let mut names = tool_names(&requests[0]);
names.sort();
- assert_eq!(names, ["cron", "current_time", "memory", "resolve_time"]);
+ // `cron` and `memory` are deferred tools: registered, reached through the
+ // harness's `tool_search` bridge instead of being listed up front.
+ assert_eq!(names, ["current_time", "resolve_time", "tool_search"]);
// An agent job made through the tool binds to this thread and fires.
handle.chat("t1", "schedule it").await.unwrap();