Skip to content

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

test(orchestrator_tools): include delegate_to in expected tool names

Steven Enamakel390eb624570e
diff --git a/src/openhuman/tools/orchestrator_tools.rs b/src/openhuman/tools/orchestrator_tools.rs
index 857ee5cc42..1b251a94ce 100644
--- a/src/openhuman/tools/orchestrator_tools.rs
+++ b/src/openhuman/tools/orchestrator_tools.rs
@@ -525,7 +525,7 @@ mod tests {
let names: Vec<&str> = tools.iter().map(|t| t.name()).collect();
assert_eq!(
names,
- vec!["do_crypto"],
+ vec!["do_crypto", "delegate_to"],
"a subagent entry must synthesise its stable delegate_name \
(`do_crypto`), not the default `delegate_crypto_agent`"
);