Mykyta Bozhenko
448394a0de
fix(agent): Enable model fallback for prompt-phase quota/rate limit errors
...
When a prompt submission fails with quota or rate limit errors, throw
FailoverError instead of the raw promptError. This enables the model
fallback system to try alternative models.
Previously, rate limit errors during the prompt phase (before streaming)
were thrown directly, bypassing fallback. Only response-phase errors
triggered model fallback.
Now checks if fallback models are configured and the error is failover-
eligible. If so, wraps in FailoverError to trigger the fallback chain.
2026-01-18 01:29:48 +00:00
..
2026-01-18 01:29:48 +00:00
2026-01-18 01:08:47 +00:00
2026-01-17 08:01:46 +00:00
2026-01-16 09:18:58 +00:00
2026-01-18 01:08:47 +00:00
2026-01-18 01:08:47 +00:00
2026-01-18 01:08:47 +00:00
2026-01-18 01:16:00 +00:00
2026-01-17 05:48:56 +00:00
2026-01-17 20:12:26 +00:00
2026-01-18 01:08:47 +00:00
2026-01-14 15:02:19 +00:00
2026-01-17 22:22:01 +00:00
2026-01-17 20:12:04 +00:00
2026-01-18 01:00:24 +00:00
2026-01-18 01:00:24 +00:00
2026-01-17 20:37:36 +00:00
2026-01-17 20:37:36 +00:00
2026-01-17 20:12:04 +00:00
2026-01-17 04:39:00 +00:00
2026-01-17 10:16:35 +00:00
2026-01-18 01:08:47 +00:00
2026-01-16 10:43:14 +07:00
2026-01-17 10:16:35 +00:00
2026-01-17 19:20:48 +00:00
2026-01-18 01:03:08 +00:00
2026-01-17 07:41:24 +00:00
2026-01-18 01:00:24 +00:00
2026-01-17 18:53:52 +00:00
2026-01-18 01:00:24 +00:00
2026-01-18 01:08:47 +00:00
2026-01-18 01:08:47 +00:00
2026-01-14 15:02:19 +00:00
2026-01-17 09:01:47 +00:00
2026-01-17 04:57:11 +00:00
2026-01-17 10:17:57 +00:00
2026-01-18 01:00:24 +00:00
2026-01-17 08:47:25 +00:00
2026-01-18 01:08:47 +00:00
2026-01-13 08:40:39 +00:00
2026-01-13 08:40:39 +00:00
2026-01-14 15:02:19 +00:00
2026-01-16 01:33:28 +00:00
2025-11-26 00:53:53 +01:00
2026-01-08 05:20:39 +01:00
2026-01-14 15:02:19 +00:00
2026-01-14 15:02:19 +00:00
2026-01-14 15:02:19 +00:00
2026-01-14 15:02:19 +00:00
2026-01-14 01:17:56 +00:00
2026-01-14 15:02:19 +00:00
2026-01-14 15:02:19 +00:00
2026-01-14 15:02:19 +00:00
2025-11-26 00:53:53 +01:00
2026-01-14 15:02:19 +00:00
2026-01-14 15:02:19 +00:00
2026-01-04 14:38:51 +00:00