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(subagent-host): bundle run queue params into a tuple
Steven Enamakel2c6e84fdc182
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops/graph/dispatch.rs b/crates/openhuman-core/src/agent/subagent_host/ops/graph/dispatch.rsindex 862f6e3763..accb46a9e8 100644--- a/crates/openhuman-core/src/agent/subagent_host/ops/graph/dispatch.rs+++ b/crates/openhuman-core/src/agent/subagent_host/ops/graph/dispatch.rs@@ -44,8 +44,10 @@ pub(in super::super) async fn run_subagent_via_graph(specs: Vec<ToolSpec>,allowed_names: HashSet<String>,max_iterations: usize,- run_queue: Option<Arc<RunQueue<crate::agent::queued_turn::QueuedTurn>>>,- message_run_queue: Option<RunQueueHandle>,+ queues: (+ Option<Arc<RunQueue<crate::agent::queued_turn::QueuedTurn>>>,+ Option<RunQueueHandle>,+ ),on_progress: Option<tokio::sync::mpsc::Sender<AgentProgress>>,agent_id: &str,task_id: &str,@@ -88,6 +90,7 @@ pub(in super::super) async fn run_subagent_via_graph(),SubagentRunError,> {+ let (run_queue, message_run_queue) = queues;// One resolved thread identity drives every child-facing boundary. An// explicit worker/task thread deliberately replaces the inherited parent;// otherwise a child remains in its parent's conversation. Do this beforediff --git a/crates/openhuman-core/src/agent/subagent_host/ops/runner.rs b/crates/openhuman-core/src/agent/subagent_host/ops/runner.rsindex 5a17eefcec..349b751345 100644--- a/crates/openhuman-core/src/agent/subagent_host/ops/runner.rs+++ b/crates/openhuman-core/src/agent/subagent_host/ops/runner.rs@@ -923,8 +923,7 @@ async fn run_typed_mode(filtered_specs.clone(),allowed_names,definition_iter_cap(&options.run_context, definition),- options.run_queue.clone(),- options.message_run_queue.clone(),+ (options.run_queue.clone(), options.message_run_queue.clone()),parent.on_progress.clone(),&definition.id,task_id,