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(subagent-host): assert accepted native rounds keep their declaration
Steven Enamakelc2ef467f02f5
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops/graph_failed_run_tests.rs b/crates/openhuman-core/src/agent/subagent_host/ops/graph_failed_run_tests.rsindex f422595f94..d228cff61d 100644--- a/crates/openhuman-core/src/agent/subagent_host/ops/graph_failed_run_tests.rs+++ b/crates/openhuman-core/src/agent/subagent_host/ops/graph_failed_run_tests.rs@@ -170,6 +170,9 @@ fn failed_run_history_keeps_the_original_seed_not_the_provider_bound_one() {1,"only the accepted round follows the seed: {recovered:?}");+ let declaration = &recovered[1];+ assert_eq!(declaration.tool_calls.len(), 1, "accepted native rounds retain their declaration");+ assert_eq!(declaration.tool_calls[0].id, recovered[2].tool_call_id.as_deref().unwrap_or_default());assert!(unanswered.is_some_and(|steps| steps.contains("round-1")),"the unanswered round is kept as text"