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
chore: files changed crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs
Steven Enamakelb71840535017
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rsindex 2a1324aa2c..bad1fbf201 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs@@ -60,12 +60,14 @@ async fn spawn_subagent_reports_a_stopped_child_as_a_failed_tool_result() {let workspace = tempfile::TempDir::new().expect("workspace");let (progress_tx, mut progress_rx) = tokio::sync::mpsc::channel(512);let parent = parent_context(workspace.path(), Arc::new(LoopingToolModel), vec![]);- let mut run_context = crate::agent::tinyagents::host::OpenHumanRunContext::new();- run_context.progress = Some(progress_tx);-- let result = with_parent_context(parent, async {+ let result = with_parent_context(parent, async move {+ // The live parent run a real turn hands the tool, with the turn's+ // progress channel on the child's run context.+ let live = super::ambient_parent_run_context("stopped-child-test").expect("parent");+ let mut run_context = live.data.child();+ run_context.progress = Some(progress_tx);SpawnSubagentTool::new()- .execute_with_parent_context(+ .execute_with_live_parent_context(json!({"agent_id": "task_manager_agent","prompt": "List the task sources",@@ -74,6 +76,7 @@ async fn spawn_subagent_reports_a_stopped_child_as_a_failed_tool_result() {}),None,run_context,+ Some(&live),).await})