Skip to content

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

chore: files changed src/openhuman/tools/orchestrator_tools.rs

Steven Enamakel29509c61bfaf
diff --git a/src/openhuman/tools/orchestrator_tools.rs b/src/openhuman/tools/orchestrator_tools.rs
index 17349220f6..4fb2f11436 100644
--- a/src/openhuman/tools/orchestrator_tools.rs
+++ b/src/openhuman/tools/orchestrator_tools.rs
@@ -540,7 +540,11 @@ mod tests {
let names: Vec<&str> = tools.iter().map(|t| t.name()).collect();
assert_eq!(
names,
- vec!["do_crypto", "delegate_to"],
+ // No `delegate_to`: `do_crypto` is the *only* subagent here and
+ // the `crypto` pack withholds it, so there is no advertised route
+ // left to collapse and `for_targets` correctly declines to build a
+ // tool whose `agent` enum would have been empty.
+ vec!["do_crypto"],
"a subagent entry must synthesise its stable delegate_name \
(`do_crypto`), not the default `delegate_crypto_agent`"
);