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-11-04 21:30:14 -08:00
2026-11-06 23:02:29 -05:00
2026-11-10 12:05:32 +05:30
2026-11-01 10:14:58 -08:00
2026-11-06 12:45:21 -05:00
2026-11-11 18:29:48 -08:00
2026-11-07 09:46:07 -08:00
2026-10-29 16:58:09 +05:30
2026-10-22 13:50:10 -07:00
2026-10-26 00:32:19 -07:00
2026-10-18 18:47:43 -07:00
2026-10-25 22:55:11 -07:00
2026-10-25 18:23:40 -07:00
2026-11-07 01:23:45 +05:30
2026-11-05 19:55:33 -06:00
2026-11-11 10:22:54 -05:00
2026-11-09 18:05:31 +05:30
2026-11-02 20:21:36 -05:00
2026-10-28 19:21:51 -07:00
2026-10-31 22:06:50 -07:00
2026-10-18 18:47:43 -07:00
2026-11-10 13:36:29 +05:30
2026-11-08 21:36:09 +05:30
2026-11-08 13:18:54 +05:30
2026-11-08 13:18:54 +05:30
2026-10-24 19:56:21 -07:00
2026-11-02 00:18:00 +05:30
2026-11-08 13:18:54 +05:30
2026-11-09 18:05:55 +05:30
2026-11-08 13:18:54 +05:30
2026-11-08 13:18:54 +05:30
2026-11-05 12:09:34 +01:00
2026-11-06 10:41:13 -05:00
2026-11-09 22:02:08 -05:00
2026-10-20 21:04:30 -04:00
2026-10-20 21:04:30 -04:00
2026-11-04 21:01:10 -08:00
2026-10-28 19:00:07 -07:00
2026-10-28 19:00:07 -07:00
2026-10-23 01:41:24 -07:00
2026-10-23 01:41:24 -07:00
2026-11-01 21:53:36 -08:00
2026-10-21 23:05:11 -04:00
2026-10-25 18:20:23 -07:00
2026-11-08 17:35:12 +05:30
2026-10-31 22:44:47 -07:00
2026-11-09 19:16:45 +05:30
2026-10-25 22:22:47 -07:00
2026-10-27 11:49:40 -07:00
2026-11-02 15:06:27 -05:00
2026-11-11 10:22:54 -05:00
2026-11-06 22:07:09 -05:00
2026-10-18 02:31:09 -07:00
2026-11-04 21:01:10 -08:00
2026-10-20 18:08:50 +05:30
2026-10-25 11:35:06 -04:00
2026-11-04 21:31:47 -08:00
2026-11-05 19:55:33 -06:00
2026-10-31 22:59:20 -07:00
2026-11-09 23:23:46 -08:00
2026-10-25 22:55:11 -07:00
2026-11-11 18:29:48 -08:00
2026-11-11 18:29:48 -08:00
2026-11-04 12:56:04 -05:00
2026-11-04 12:56:04 -05:00
2026-11-11 10:22:54 -05:00
2026-11-05 19:55:33 -06:00
2026-11-05 12:09:34 +01:00
2026-10-20 15:08:00 +05:30
2026-11-08 00:41:35 +05:30
2026-10-25 22:55:11 -07:00
2026-10-18 19:44:32 -04:00
2026-11-09 13:16:04 -08:00
2026-11-11 18:30:54 -08:00
2026-10-25 22:22:43 -07:00
2026-11-02 06:57:53 -08:00
2026-10-21 23:05:11 -04:00
2026-11-10 02:26:26 +05:30
2026-10-25 18:04:13 -07:00
2026-10-22 14:34:55 -07:00
2026-11-08 11:55:30 -08:00
2026-10-17 13:29:00 -04:00
2026-10-27 16:30:14 +05:30
2026-11-05 15:44:58 -05:00
2026-10-25 11:34:11 -04:00
2026-11-05 15:44:58 -05:00
2026-10-23 00:37:14 -07:00
2026-10-31 23:05:03 -07:00
2026-11-08 17:34:10 +05:30
2026-10-30 08:02:40 -07:00
2026-11-08 13:18:54 +05:30
2026-11-11 22:47:47 -08:00
2026-11-02 15:06:27 -05:00
2026-11-11 10:22:54 -05:00
2026-11-04 21:47:30 -08:00
2026-10-25 06:18:48 -07:00
2026-11-01 18:12:56 +05:30
2026-11-01 18:12:56 +05:30
2026-11-01 18:12:56 +05:30
2026-10-20 12:30:50 -07:00
2026-11-06 08:46:25 -08:00
2026-11-11 10:22:54 -05:00
2026-10-19 00:03:16 -07:00
2026-10-23 01:41:24 -07:00
2026-11-02 19:08:46 -05:00
2026-10-25 03:00:43 -07:00
2026-11-11 09:54:19 -05:00
2026-11-10 13:16:03 -08:00
2026-10-17 13:28:18 -04:00
2026-10-17 13:28:18 -04:00
2026-10-19 19:15:44 +05:30
2026-11-07 14:29:26 +05:30
2026-11-08 00:41:35 +05:30
2026-11-09 23:23:46 -08:00
2026-11-09 23:23:46 -08:00
2026-10-18 19:44:32 -04:00
2026-10-27 12:57:09 -07:00
2026-10-28 07:23:10 -07:00
2026-11-01 21:53:36 -08:00
2026-11-01 22:27:58 -08:00
2026-11-09 23:23:46 -08:00
2026-10-28 07:23:10 -07:00
2026-10-25 18:20:23 -07:00
2026-10-28 21:24:43 -07:00
2026-10-22 13:43:01 +05:30
2026-10-22 11:22:12 -07:00
2026-11-09 18:07:31 +05:30
2026-11-06 20:38:46 -05:00
2026-10-27 16:30:14 +05:30
2026-11-01 22:07:56 -08:00
2026-10-22 14:34:55 -07:00
2026-10-22 13:50:10 -07:00
2026-11-06 20:38:46 -05:00
2026-10-26 00:10:23 -07:00
2026-10-17 13:29:00 -04:00
2026-10-18 22:47:12 -04:00
2026-11-11 21:12:00 +01:00
2026-11-11 18:29:48 -08:00
2026-11-11 18:30:54 -08:00
2026-10-28 19:30:48 -07:00
2026-11-06 12:45:21 -05:00
2026-10-26 01:34:59 -07:00
2026-10-20 22:18:49 -04:00
2026-10-25 22:22:47 -07:00
2026-11-09 23:23:46 -08:00
2026-11-09 22:19:43 -05:00
2026-11-05 04:05:45 -08:00
2026-11-08 11:44:20 -08:00
2026-11-11 10:22:54 -05:00
2026-11-08 00:41:35 +05:30
2026-11-09 23:23:46 -08:00
2026-11-01 22:07:56 -08:00
2026-11-10 13:36:29 +05:30
2026-11-08 17:34:10 +05:30
2026-11-07 01:17:21 -05:00
2026-11-11 09:54:19 -05:00
2026-11-11 10:22:54 -05:00
2026-10-20 03:22:11 -07:00
2026-11-06 10:41:13 -05:00
2026-10-31 22:59:20 -07:00
2026-10-28 17:06:43 +05:30
2026-11-11 09:44:33 -05:00
2026-11-11 10:22:54 -05:00
2026-11-06 19:39:21 -05:00
2026-11-11 10:22:54 -05:00
2026-10-26 00:32:14 -07:00
2026-10-24 19:56:21 -07:00
2026-10-24 19:56:21 -07:00
2026-11-11 10:22:54 -05:00
2026-11-11 10:22:54 -05:00
2026-11-02 19:08:46 -05:00
2026-10-24 17:11:13 -07:00
2026-10-18 06:04:35 +05:30
2026-11-10 13:35:27 -08:00
2026-10-25 06:18:48 -07:00
2026-10-31 22:44:47 -07:00
2026-10-31 22:44:47 -07:00
2026-11-11 10:22:54 -05:00
2026-11-08 22:46:20 -08:00
2026-11-11 10:22:54 -05:00
2026-10-22 05:26:10 -07:00
2026-11-04 13:38:09 -08:00
2026-11-09 09:26:51 -08:00
2026-10-31 22:06:50 -07:00
2026-11-11 22:46:04 -08:00
2026-11-10 22:28:55 -08:00
2026-11-11 10:22:54 -05:00
2026-10-22 12:49:48 -07:00
2026-10-20 04:41:58 -07:00
2026-10-22 12:49:48 -07:00
2026-11-08 00:41:35 +05:30
2026-11-10 02:26:26 +05:30
2026-11-08 17:34:10 +05:30
2026-10-26 00:32:11 -07:00
2026-11-04 21:01:10 -08:00
2026-11-09 23:23:46 -08:00
2026-11-09 18:28:09 -08:00
2026-11-11 10:22:54 -05:00
2026-11-02 18:53:39 -08:00
2026-11-05 22:23:44 -08:00
2026-11-10 02:01:58 +05:30
2026-10-28 19:29:23 -07:00
2026-11-09 18:28:09 -08:00
2026-11-04 21:26:16 -08:00
2026-11-05 19:55:33 -06:00
2026-11-08 13:18:54 +05:30
2026-11-08 17:34:10 +05:30
2026-11-10 13:35:27 -08:00
2026-11-11 18:30:54 -08:00
2026-11-09 23:23:46 -08:00
2026-11-09 18:28:09 -08:00
2026-11-08 17:34:10 +05:30
2026-10-25 06:18:48 -07:00
2026-11-09 18:28:09 -08:00
2026-11-10 22:28:55 -08:00
2026-11-09 23:23:46 -08:00
2026-11-09 23:23:46 -08:00
2026-10-21 23:05:11 -04:00
2026-11-10 11:37:47 -05:00
2026-10-25 05:32:43 -07:00
2026-10-25 05:45:51 -07:00
2026-10-28 19:00:07 -07:00
2026-10-25 05:45:51 -07:00
2026-11-11 10:22:54 -05:00
2026-10-24 18:48:01 -07:00
2026-11-08 17:35:12 +05:30
2026-11-08 17:34:10 +05:30