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
test(orchestration): assert resumed subagent history includes the answer once
Steven Enamakel97055b011b60
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 f7091a9e13..0c0d4f833a 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@@ -498,6 +498,20 @@ async fn continue_subagent_resumes_paused_job_through_shared_driver() {.expect("continue");assert!(!resumed.is_error, "{}", resumed.output());assert!(provider.saw("Inspect the README and continue."));+ assert_eq!(provider.calls.load(std::sync::atomic::Ordering::SeqCst), 2);+ let requests = provider.seen.lock();+ assert_eq!(requests.len(), 2);+ let resumed_request = &requests[1];+ assert!(resumed_request.contains("Investigate the pause-resume fixture"));+ assert!(resumed_request.contains("which file should I inspect?"));+ assert_eq!(+ resumed_request+ .matches("Inspect the README and continue.")+ .count(),+ 1,+ "the answer is appended to the resumed history exactly once"+ );+ drop(requests);let completed_job = jobs.get(paused_job.id.as_str())