Skip to content

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

refactor(subagent_host): drop unused bindings in typed mode runner

Steven Enamakelad1a40cc95f6
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops/runner.rs b/crates/openhuman-core/src/agent/subagent_host/ops/runner.rs
index 7d50736844..48eed25d64 100644
--- a/crates/openhuman-core/src/agent/subagent_host/ops/runner.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/ops/runner.rs
@@ -486,9 +486,8 @@ async fn run_typed_mode(
nested_spawn_depth_available,
&parent.subagent_tool_ceiling_names,
);
- let mut allowed_indices = filtered_tools.indices;
+ let allowed_indices = filtered_tools.indices;
let nested_spawn_ids = filtered_tools.nested_spawn_ids;
- let nested_spawn_granted = !filtered_tools.nested_spawn_tools.is_empty();
let can_spawn_subagent = filtered_tools.nested_spawn_tools.contains("spawn_subagent");
// Rule-withheld tools stay callable (`allowed_names`) but off the prompt.