Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(orchestration): add host_env to spawn parallel agents fixtures

Steven Enamakela4ba345e22a6
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_parallel_agents_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_parallel_agents_tests.rs
index 7828c08575..aee5926bbe 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_parallel_agents_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_parallel_agents_tests.rs
@@ -81,6 +81,7 @@ fn parent_context(max_parallel_tools: usize) -> ParentExecutionContext {
session_parent_prefix: None,
on_progress: None,
run_queue: None,
+ host_env: Default::default(),
}
}
@@ -91,6 +92,7 @@ fn parent_context_with_tools(
let mut parent = parent_context(max_parallel_tools);
parent.all_tools = Arc::new(tools);
parent
+}
/// The live harness does not recover ambient cancellation. Its typed
/// dispatch receives the parent `RunContext`, so an already-cancelled parent
@@ -639,6 +641,7 @@ fn parent_admitting(ids: &[&str], tools: Vec<Box<dyn Tool>>) -> ParentExecutionC
let mut parent = parent_context_with_tools(8, tools);
parent.allowed_subagent_ids = ids.iter().map(|id| id.to_string()).collect();
parent
+}
/// Helper: the single write-capable tool the dispatch fixtures share.
fn write_fixture_tools() -> Vec<Box<dyn Tool>> {