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(triage): classify retryable arm errors before retrying same provider
Steven Enamakel0b6a7a085a4a
diff --git a/crates/openhuman-core/src/triage/evaluator/chain.rs b/crates/openhuman-core/src/triage/evaluator/chain.rsindex 637b492722..c0e7990c9e 100644--- a/crates/openhuman-core/src/triage/evaluator/chain.rs+++ b/crates/openhuman-core/src/triage/evaluator/chain.rs@@ -203,7 +203,27 @@ where);cloud_safety_flagged = Some(err);}- Err(ArmError::Retryable { retry_after_ms, .. }) => {+ Err(ArmError::Retryable {+ retry_after_ms,+ source,+ }) => {+ let reason = FailoverReason::classify(&tinyagents_harness::error::TinyAgentsError::Model(+ format!("{source:#}"),+ ));+ let decision = decide(+ reason,+ FailoverState {+ retryable: true,+ attempts_remaining: true,+ larger_window_available: false,+ },+ );+ if decision != FailoverDecision::RetrySame {+ tracing::info!(+ failover_reason = reason.as_str(),+ "owner failover policy skipped a same-provider retry"+ );+ } else {// Sleep before the cloud retry. Honour Retry-After when// present; otherwise use a short backoff so the second// attempt has a real chance of finding the upstream@@ -262,6 +282,7 @@ where);}}+ }}}