The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
refactor(subagent): use explicit dispatch calls for tool execution
Steven Enamakel155e63b948bc
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent.rsindex 43fdb9c89e..f9ee3834e4 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent.rs@@ -158,8 +158,8 @@ async fn steer_reusable_session(tinytools::ToolCategory::System,ToolTimeout::Inherit,);- let result = dispatch- .execute(+ let result = ToolDispatch::execute(+ &dispatch,&(),tinyagents_harness::CallId::new(format!("reuse-steer-{session_id}")),json!({diff --git a/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs b/crates/openhuman-core/src/agent/subagent_host/lifecycle.rsindex 257579fe9d..c939521fc6 100644--- a/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs+++ b/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs@@ -180,14 +180,13 @@ pub(crate) async fn run_async_spawn_via_driver_tool(ToolTimeout::Unbounded,);let args = serde_json::json!({ "input": input, "mode": "inline" });- let tool_result = dispatcher- .execute(+ let tool_result = Box::pin(dispatcher.execute(&(),tinyagents_harness::CallId::new(format!("spawn-{task_id}")),args,ToolCallOptions::default(),parent,- )+ )).await.map_err(|error| SubagentRunError::Provider(anyhow::anyhow!(error.to_string())))?;let reply: serde_json::Value = serde_json::from_str(&tool_result.output()).map_err(|error| {