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
Revert "refactor(ops): reformat closure argument and fix indentation"
Steven Enamakelb9b4408a8562
diff --git a/src/openhuman/agent/orchestration/ops.rs b/src/openhuman/agent/orchestration/ops.rsindex c557732f94..6a2a4f6a08 100644--- a/src/openhuman/agent/orchestration/ops.rs+++ b/src/openhuman/agent/orchestration/ops.rs@@ -228,9 +228,12 @@ impl AgentOrchestrationSession {/// later soft-cap sweep prunes it), so a concurrent `wait_agents` resolves/// with cancellation even when it starts after this method returns.pub async fn abort_all(&self) {- let cancelled = match self.registry.cancel_all_retaining(|metadata, _status| {- mark_cancelled(&metadata.status_tx);- }) {+ let cancelled = match self+ .registry+ .cancel_all_retaining(|metadata, _status| {+ mark_cancelled(&metadata.status_tx);+ })+ {Ok(cancelled) => cancelled,Err(err) => {log::warn!("[agent_orchestration] abort_all could not drain registry: {err:?}");@@ -455,10 +458,10 @@ impl AgentOrchestrationSession {if !publish_terminal(status_tx,ChildState {- status: OrchestrationTaskStatus::Completed,- result_summary: Some(outcome.output.clone()),- error: None,- updated_at: now(),+ status: OrchestrationTaskStatus::Completed,+ result_summary: Some(outcome.output.clone()),+ error: None,+ updated_at: now(),},) {return;