Skip to content

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

chore: files changed crates/openhuman-core/src/agent/tinyagents/middleware/repeated_failure.rs

Steven Enamakel1531c9f6575d
diff --git a/crates/openhuman-core/src/agent/tinyagents/middleware/repeated_failure.rs b/crates/openhuman-core/src/agent/tinyagents/middleware/repeated_failure.rs
index afca2621ab..255fcd2d44 100644
--- a/crates/openhuman-core/src/agent/tinyagents/middleware/repeated_failure.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/middleware/repeated_failure.rs
@@ -488,7 +488,7 @@ impl Middleware<(), crate::agent::tinyagents::host::OpenHumanRunContext>
first_error_line(&failure_text)
),
"blocked_by_policy" => format!(
- "The `{tool_name}` call was blocked by policy and did not run ({}). Try one narrower, permitted alternative (a scoped path, a bounded command, a read instead of a write) or continue with other tools; do not resend it unchanged, and a second refusal ends the turn.",
+ "The `{tool_name}` call was blocked by policy and did not run ({}). Try one narrower, permitted alternative (a scoped path, a bounded command, a read instead of a write) or continue with other tools; do not resend it unchanged. Another refusal of this operation ends the turn.",
first_error_line(&failure_text)
),
"validation" => "The last call failed validation. Correct its schema or arguments once before trying again.".to_owned(),