Skip to content

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

test(session_host): update stop summary test to use transient halt

Steven Enamakel02add6feba88
diff --git a/crates/openhuman-core/src/agent/session_host/stop_summary_tests.rs b/crates/openhuman-core/src/agent/session_host/stop_summary_tests.rs
index 386b985a3d..3dc6bff062 100644
--- a/crates/openhuman-core/src/agent/session_host/stop_summary_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/stop_summary_tests.rs
@@ -187,7 +187,7 @@ fn a_capped_summary_keeps_the_most_recent_groups() {
.map(|i| result(&format!("early_tool_{i}"), true, "ok"))
.collect();
results.push(result("final_blocker", false, "boom happened"));
- let out = build_deterministic_final_summary(&results, StopReasonKind::RepeatedFailure);
+ let out = build_deterministic_final_summary(&results, Some(TRANSIENT_HALT));
assert!(out.contains("final_blocker"), "{out}");
assert!(!out.contains("early_tool_0`"), "{out}");
assert!(out.contains("more tool call(s)"), "{out}");