Skip to content

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

test(agent_harness_e2e): remove unused error_completion helper

Steven Enamakelc3fa203bebcd
diff --git a/tests/agent_harness_e2e.rs b/tests/agent_harness_e2e.rs
index 3a38545456..c333bda349 100644
--- a/tests/agent_harness_e2e.rs
+++ b/tests/agent_harness_e2e.rs
@@ -119,10 +119,6 @@ fn tool_call_completion(name: &str, arguments: Value) -> Value {
}]})
}
-fn error_completion(status: u16, message: &str) -> Value {
- json!({ "status": status, "error": message })
-}
-
/// True when any captured upstream request carries the engine's unknown-tool
/// result (`tinyagents-harness` `agent_loop/tools.rs`: "unknown tool `name`
/// (arguments: …); valid tools: […]"). Matched case-insensitively on purpose: