Files
hermes-agent/agent
Teknium 4689be855d fix(agent): a fallback's 429 no longer benches a primary that shares its provider name
When the primary and its fallback were both `provider: custom` (two OpenAI-compatible servers
with different base_url/model), the fallback's own 429 armed the PRIMARY's rate-limit cooldown:
_arm_rate_limit_cooldown decided "still on the primary" from the provider name alone, so every
later turn stayed pinned to the rate-limited fallback for its whole Retry-After window.

Decide on the route identity a fallback entry is keyed by (provider, model, normalized
base_url), compared against the _primary_runtime snapshot.

Fixes #141025
2026-11-11 22:47:47 -08:00
..
…
2026-10-20 21:04:30 -04:00
2026-10-20 21:04:30 -04:00
2026-10-21 23:05:11 -04:00
…
2026-10-20 22:18:49 -04:00
2026-10-21 23:05:11 -04:00