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(agent_runs): await subagent cancellation calls
Steven Enamakel72a10f48ef26
diff --git a/crates/openhuman-core/src/agent_runs/subagent_control.rs b/crates/openhuman-core/src/agent_runs/subagent_control.rsindex 831bcec051..cad0d664a1 100644--- a/crates/openhuman-core/src/agent_runs/subagent_control.rs+++ b/crates/openhuman-core/src/agent_runs/subagent_control.rs@@ -90,7 +90,8 @@ fn handle_subagent_cancel(ctx: DispatchCtx, params: Map<String, Value>) -> Contr&task_id,None,reason.as_deref(),- )?;+ )+ .await?;if cancelled_subagent.is_none()&& ctx.resolved().is_none()&& !crate::core::runtime::is_saas()@@ -105,7 +106,8 @@ fn handle_subagent_cancel(ctx: DispatchCtx, params: Map<String, Value>) -> Contr&task_id,Some(&config.workspace_dir),reason.as_deref(),- )?;+ )+ .await?;}let (cancelled, outcome) = match cancelled_subagent {// Finished before the click landed (it stays registered until the