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
test(middleware): inline expected halt summary and drop unused import
Steven Enamakelcd41a4392ce9
diff --git a/crates/openhuman-core/src/agent/tinyagents/middleware/repeated_failure_tests.rs b/crates/openhuman-core/src/agent/tinyagents/middleware/repeated_failure_tests.rsindex d409dd99d2..4ef69fa81c 100644--- a/crates/openhuman-core/src/agent/tinyagents/middleware/repeated_failure_tests.rs+++ b/crates/openhuman-core/src/agent/tinyagents/middleware/repeated_failure_tests.rs@@ -46,7 +46,7 @@ fn identical_recoverable_halt_uses_openhuman_copy() {let summary = summary.expect("eighth identical failure halts");assert_eq!(summary,- recoverable_identical_halt_summary("web_fetch", 8, "connection reset")+ "Stopping: the `web_fetch` call was retried 8 times with identical arguments and kept failing — repeating it will not help. Last error:\nconnection reset\n\nThis looked recoverable at first, but the same call exhausted the extended transient-failure headroom. Report this back instead of retrying.");}diff --git a/crates/openhuman-core/src/agent/tinyagents/middleware_tests.rs b/crates/openhuman-core/src/agent/tinyagents/middleware_tests.rsindex 8262ceadef..c029317edf 100644--- a/crates/openhuman-core/src/agent/tinyagents/middleware_tests.rs+++ b/crates/openhuman-core/src/agent/tinyagents/middleware_tests.rs@@ -1,5 +1,5 @@use super::approval::approval_tool_name;-use super::repeated_failure::{is_body_level_failure, user_actionable_escalation};+use super::repeated_failure::is_body_level_failure;use super::tool_output::{is_compaction_exempt, is_truncation_exempt, COMPACTION_EXEMPT_TOOLS, SAMPLING_TOOLS,};