9router/open-sse/services
Anurag Saxena b8918c0c1c
fix: treat Kiro 400 'improperly formed request' as model-unavailable (#386)
Kiro returns HTTP 400 with 'Improperly formed request (reset after Xs)'
when a model is not available on that account's subscription tier.
Previously this fell through to COOLDOWN_MS.transient (30s), causing
rapid retries on all accounts before failing — all accounts get locked
simultaneously with no actual fallback.

Treating this as paymentRequired (2min cooldown) ensures:
1. The model is locked on that account for 2min (proper cooldown)
2. The next available account is tried immediately
3. If all accounts hit the same 400, 9Router falls through to the
   next provider in the combo

Fixes #384
2026-03-23 09:31:31 +07:00
..
accountFallback.js fix: treat Kiro 400 'improperly formed request' as model-unavailable (#386) 2026-03-23 09:31:31 +07:00
combo.js fix: combo 503 cooldown wait before fallthrough + 406 on disabled creds (#382) 2026-03-23 09:24:58 +07:00
compact.js Feat : Auto restart after crash 2026-03-14 09:37:29 +07:00
model.js feat: Add Google Cloud Vertex AI provider support (vertex, vertex-partner) 2026-03-14 11:37:23 +07:00
projectId.js Feat : Auto restart after crash 2026-03-14 09:37:29 +07:00
provider.js feat: Add Google Cloud Vertex AI provider support (vertex, vertex-partner) 2026-03-14 11:37:23 +07:00
tokenRefresh.js feat: Add Google Cloud Vertex AI provider support (vertex, vertex-partner) 2026-03-14 11:37:23 +07:00
usage.js Feat : Auto restart after crash 2026-03-14 09:37:29 +07:00