Skip to content

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

chore(docs): remove stale cross-reference from collapsed delegation doc

Steven Enamakel91cd0eb0ba67
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/collapsed_delegation.rs b/crates/openhuman-core/src/agent/orchestration/tools/collapsed_delegation.rs
index a3db603cbe..55a2cce0c8 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/collapsed_delegation.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/collapsed_delegation.rs
@@ -97,11 +97,7 @@ impl CollapsedDelegationTool {
/// Build the collapsed tool, or `None` when there is nothing to route to.
///
/// `None` rather than an empty enum: a `delegate` tool whose `agent` has no
- /// valid value is a schema the model can only call wrongly, and the
- /// sibling [`SkillDelegationTool::for_connected`] already returns `None` on
- /// an empty toolkit list for the same reason.
- ///
- /// [`SkillDelegationTool::for_connected`]: super::SkillDelegationTool::for_connected
+ /// valid value is a schema the model can only call wrongly.
pub fn for_targets(targets: Vec<DelegateTarget>) -> Option<Self> {
if targets.is_empty() {
return None;
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/collapsed_delegation_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/collapsed_delegation_tests.rs
index 0de914fdcb..96a2281805 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/collapsed_delegation_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/collapsed_delegation_tests.rs
@@ -31,7 +31,7 @@ fn tool() -> CollapsedDelegationTool {
#[test]
fn an_empty_target_list_produces_no_tool() {
// An `agent` enum with no valid value is a schema the model can only call
- // wrongly. Mirrors `SkillDelegationTool::for_connected`.
+ // wrongly.
assert!(CollapsedDelegationTool::for_targets(Vec::new()).is_none());
}