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(spawn-subagent): extract detached parent type alias
Steven Enamakel910880032e05
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_host_impl.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_host_impl.rsindex 1f3cefc8ba..8f8218ddd9 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_host_impl.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_host_impl.rs@@ -1,14 +1,13 @@+type DetachedSpawnParent<'a> =+ &'a RunContext<crate::agent::tinyagents::host::OpenHumanRunContext>;+impl SpawnSubagentTool {async fn execute_with_context_inner(&self,args: serde_json::Value,tool_context: Option<&dyn ToolRunContext>,run_context: crate::agent::tinyagents::host::OpenHumanRunContext,- detached_parent: Option<- &tinyagents_harness::context::RunContext<- crate::agent::tinyagents::host::OpenHumanRunContext,- >,- >,+ detached_parent: Option<DetachedSpawnParent<'_>>,) -> anyhow::Result<ToolResult> {spawn_subagent_preflight!(dispatch,