Skip to content

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

test(cli): include probes in headless chat assertion message

Steven Enamakelbf26050b4367
diff --git a/tests/cli_agent_chat_headless_e2e.rs b/tests/cli_agent_chat_headless_e2e.rs
index 64d00cdf10..3753a217e0 100644
--- a/tests/cli_agent_chat_headless_e2e.rs
+++ b/tests/cli_agent_chat_headless_e2e.rs
@@ -310,7 +310,7 @@ fn one_shot_cli_waits_for_and_returns_its_spawned_child_result() {
.expect("agent_chat CLI response result string");
assert!(
result.contains(CHILD_RESULT),
- "successful CLI result must include the awaited child result, got {result}"
+ "successful CLI result must include the awaited child result, got {result}; probes: {probes:#?}"
);
assert!(
result.contains(ROOT_RESULT),