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 crates/openhuman-core/src/agent/tinyagents/harness_assembly.rs
Steven Enamakel32fefe122b5c
diff --git a/crates/openhuman-core/src/agent/tinyagents/harness_assembly.rs b/crates/openhuman-core/src/agent/tinyagents/harness_assembly.rsindex 0772427c63..703e13c383 100644--- a/crates/openhuman-core/src/agent/tinyagents/harness_assembly.rs+++ b/crates/openhuman-core/src/agent/tinyagents/harness_assembly.rs@@ -373,17 +373,14 @@ pub(super) fn assemble_turn_harness(// error `REPEATED_TOOL_FAILURE_THRESHOLD` times in a row, so a deterministic// security/approval denial or terminal tool error surfaces its root cause// instead of burning the whole iteration budget (legacy ProgressGuard parity).- // It reads each call's side effect from the registered tools' own- // declarations, so a timed-out read is retried instead of ending the turn.+ // Side effects come from the tools' declarations (a timed-out read retries).let repeated_failure = handle.as_ref().map(|handle| {- Arc::new(- middleware::RepeatedToolFailureMiddleware::new(- handle.clone(),- REPEATED_TOOL_FAILURE_THRESHOLD,- halt_summary.clone(),- )- .with_tool_facts(middleware::tool_sets_lookup(tool_sets.clone())),- )+ let mw = middleware::RepeatedToolFailureMiddleware::new(+ handle.clone(),+ REPEATED_TOOL_FAILURE_THRESHOLD,+ halt_summary.clone(),+ );+ Arc::new(mw.with_tool_facts(middleware::tool_sets_lookup(tool_sets.clone())))});if let Some(mw) = &repeated_failure {harness.push_middleware(mw.clone());