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
fix(orchestration): release driver task before reporting spawn failure
Steven Enamakel5d29a466fe8b
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 2ecc05ac6f..a1193e9064 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@@ -741,6 +741,10 @@ impl SpawnSubagentTool {registration_agent_id.clone(),message.clone(),);+ crate::agent::orchestration::completion_owners::finish_driver_task(+ &dispatch,+ ®istration_task_id,+ );if let Some(progress) = registration_progress {let _ = progress.send(AgentProgress::SubagentFailed {@@ -750,10 +754,6 @@ impl SpawnSubagentTool {}).await;}- crate::agent::orchestration::completion_owners::finish_driver_task(- &dispatch,- ®istration_task_id,- );return Ok(ToolResult::error(format!("spawn_subagent: failed to register detached sub-agent: {error}")));