refactor(agents): share failover HTTP status classification (#36615)

* fix(agents): classify transient failover statuses consistently

* fix(agents): preserve legacy failover status mapping
This commit is contained in:
Altay
2026-03-05 23:50:36 +03:00
committed by GitHub
parent 8ac7ce73b3
commit f014e255df
4 changed files with 49 additions and 29 deletions

View File

@@ -13,6 +13,7 @@ export {
BILLING_ERROR_USER_MESSAGE,
formatBillingErrorMessage,
classifyFailoverReason,
classifyFailoverReasonFromHttpStatus,
formatRawAssistantErrorForUi,
formatAssistantErrorText,
getApiErrorPayloadFingerprint,