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(tests): correct comment on stream event filtering in streaming tool call test
Steven Enamakela939ba837882
diff --git a/tests/agent_harness_e2e.rs b/tests/agent_harness_e2e.rsindex b1f9421861..047aab3ac7 100644--- a/tests/agent_harness_e2e.rs+++ b/tests/agent_harness_e2e.rs@@ -2732,9 +2732,8 @@ async fn streaming_tool_call_accumulation() {// → AgentProgress::ToolCallArgsDelta{tool_name: "", delta, ...}.// ModelStreamItem::ToolCallDelta → AgentProgress::ToolCallArgsDelta{tool_name: "echo_tool", delta: ""}.// Filter to iteration 1 only (tool-call dispatch iteration).- // ScriptedProvider fires stream_events on every chat() call, so iteration 2- // (the final-text response) also emits the same delta sequence — we want- // only the iteration that carried the actual tool call.+ // ScriptedProvider replays stream_events only for the response that carries+ // the tool call, so only iteration 1 emits deltas; the filter pins that.let arg_deltas: Vec<_> = all_progress.iter().filter(|ev| {