Skip to content

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

test(tinyagents): reformat stop cause assertion

Steven Enamakel966498ec5dea
diff --git a/crates/openhuman-core/src/agent/tinyagents/middleware_stop_cause_tests.rs b/crates/openhuman-core/src/agent/tinyagents/middleware_stop_cause_tests.rs
index 0b7a599557..8f69924d2a 100644
--- a/crates/openhuman-core/src/agent/tinyagents/middleware_stop_cause_tests.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/middleware_stop_cause_tests.rs
@@ -376,7 +376,10 @@ async fn a_failure_breaker_halt_survives_a_later_repeat_guard_halt_in_its_batch(
assert!(drain_pause_count(&handle) > 1, "the guard tripped as well");
let note = slot.lock().unwrap().clone().unwrap();
assert_eq!(note, breaker_note);
- assert_eq!(StopReasonKind::from_stop_note(&note), StopReasonKind::Policy);
+ assert_eq!(
+ StopReasonKind::from_stop_note(&note),
+ StopReasonKind::Policy
+ );
}
/// Feed `breaker` one result of `tool` for `path`, failing with