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
chore: files changed tests/agent_harness_e2e.rs
Steven Enamakel491846c7aad6
diff --git a/tests/agent_harness_e2e.rs b/tests/agent_harness_e2e.rsindex 077726ff2e..8f98f2994b 100644--- a/tests/agent_harness_e2e.rs+++ b/tests/agent_harness_e2e.rs@@ -4611,13 +4611,18 @@ 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 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:?}");+ let last_turn = serde_json::to_string(+ requests+ .last()+ .unwrap()+ .pointer("/body/messages")+ .expect("upstream request carries messages"),+ )+ .unwrap();+ assert!(+ last_turn.contains("\\"todos\\""),+ "the model is handed the JSON list back, not a bare acknowledgement: {last_turn}"+ );// What a reloaded pane sees: every write persisted in the turn state,// the newest with all five completed.