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): clone router and error sink for background delivery
Steven Enamakelc328ca7a34f3
diff --git a/crates/openhuman-core/src/agent/orchestration/background_completions.rs b/crates/openhuman-core/src/agent/orchestration/background_completions.rsindex 0bf12a16f4..a665b9cab4 100644--- a/crates/openhuman-core/src/agent/orchestration/background_completions.rs+++ b/crates/openhuman-core/src/agent/orchestration/background_completions.rs@@ -324,7 +324,7 @@ pub(crate) async fn record_outcome();let fallback = degrade_to_memory(workspace_dir, &router);let fallback_target = DetachedCompletionTarget::new(- fallback.router,+ fallback.router.clone(),thread_id.clone(),target.agent_id.clone(),)diff --git a/crates/openhuman-core/src/agent/orchestration/background_delivery.rs b/crates/openhuman-core/src/agent/orchestration/background_delivery.rsindex b8fce0c98e..063a9d9c5e 100644--- a/crates/openhuman-core/src/agent/orchestration/background_delivery.rs+++ b/crates/openhuman-core/src/agent/orchestration/background_delivery.rs@@ -433,6 +433,7 @@ async fn try_deliver(let ctx = ctx.clone();let workspace_dir = turn_workspace.clone();let thread_id = turn_thread_id.clone();+ let delivery_error_sink = Arc::clone(&delivery_error_sink);async move {let result = run_system_turn_on_thread(&ctx, workspace_dir, thread_id, notice).await