Skip to content

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

fix(triage): map upstream unhealthy failures to overloaded

Steven Enamakel256893f35e80
diff --git a/crates/openhuman-core/src/triage/evaluator/arm.rs b/crates/openhuman-core/src/triage/evaluator/arm.rs
index db9d0c1982..7495ac383d 100644
--- a/crates/openhuman-core/src/triage/evaluator/arm.rs
+++ b/crates/openhuman-core/src/triage/evaluator/arm.rs
@@ -256,7 +256,7 @@ pub(crate) fn classify_error(message: String) -> ArmError {
FailoverReason::RateLimit
}
tinyinference_llm::failure::ProviderFailureClass::UpstreamUnhealthy => {
- FailoverReason::UpstreamUnavailable
+ FailoverReason::Overloaded
}
tinyinference_llm::failure::ProviderFailureClass::Retryable => {
FailoverReason::Unknown