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
fix(test): replace assertion with diagnostic dump in e2e test
Steven Enamakel09653c02d1d8
diff --git a/tests/agent_harness_e2e.rs b/tests/agent_harness_e2e.rsindex 7cfde67809..077726ff2e 100644--- a/tests/agent_harness_e2e.rs+++ b/tests/agent_harness_e2e.rs@@ -4611,11 +4611,13 @@ async fn todo_list_ticks_off_five_items_across_turns_inner() {// The model was told what it wrote back: the tool message in the next// upstream request is the same payload the socket carried.let requests = with_captured(|c| c.clone());- let echoed = tool_result_text(&requests, "todo").expect("todo result echoed to the model");- assert!(- echoed.contains("\"todos\""),- "the model sees the JSON list, not a bare acknowledgement: {echoed}"- );+ let roles: Vec<String> = requests+ .iter()+ .filter_map(|r| r.pointer("/body/messages").and_then(Value::as_array))+ .flatten()+ .map(|m| format!("{}:{}", m.get("role").and_then(Value::as_str).unwrap_or("?"), m.get("tool_call_id").and_then(Value::as_str).unwrap_or("-")))+ .collect();+ panic!("ROLES {roles:?}");// What a reloaded pane sees: every write persisted in the turn state,// the newest with all five completed.