kshitijk4poor
b7e12decc6
fix(agent): route relay-wrapped output-cap 429s into the output-cap handler
...
Salvage follow-up for #72283 : instead of a second pre-retry clamp block
(which bypassed the #55546 clamp+compress path and broke its three
regression tests), parse the output cap ONCE at classification time and:
- exempt parseable wrapped output-cap 429s from the eager rate-limit
provider fallback (a deterministic request-shape failure that failover
cannot fix but the clamp fixes in one retry), and
- widen is_context_length_error so they reach the SAME #55546
clamp+compress recovery as plain output-cap 400s.
Adds both #72283 regression scenarios plus an ordering guard proving a
NON-EMPTY fallback chain does not consume the wrapped 429 (fallback
slot unspent, model unchanged). 119 fallback/rate-limit tests green.
2026-08-20 11:37:01 +05:30
..
2026-08-18 14:26:16 -07:00
2026-08-20 11:36:54 +05:30
2026-08-19 12:41:45 -05:00
2026-08-19 19:42:07 -07:00
2026-08-17 17:51:08 -07:00
2026-08-15 13:35:32 -07:00
2026-08-20 16:06:23 +10:00
2026-08-20 11:36:54 +05:30
2026-08-16 06:38:38 -07:00
2026-08-13 23:43:15 +05:30
2026-08-03 20:35:47 +05:30
2026-08-20 10:41:12 +05:30
2026-08-19 22:14:56 -05:00
2026-08-20 11:37:01 +05:30
2026-08-13 02:38:28 -07:00
2026-08-12 19:13:32 -07:00
2026-08-19 12:41:45 -05:00
2026-08-17 17:20:06 -07:00
2026-08-19 22:58:02 -07:00
2026-08-20 01:02:17 -05:00
2026-08-19 12:41:45 -05:00
2026-08-19 01:19:28 -07:00
2026-08-12 17:25:30 -05:00
2026-08-13 22:44:23 +05:30
2026-08-16 01:50:20 -07:00
2026-07-29 13:10:23 -07:00
2026-08-02 00:11:50 -07:00
2026-08-15 23:37:22 -07:00
2026-08-17 16:34:02 -07:00
2026-08-19 13:16:13 -05:00
2026-08-19 19:29:58 -07:00
2026-08-14 22:23:00 -07:00
2026-08-14 15:41:38 -05:00
2026-08-14 21:48:14 -07:00
2026-08-12 19:13:32 -07:00
2026-08-16 06:29:53 -07:00
2026-08-15 00:36:03 -07:00
2026-08-15 23:37:22 -07:00
2026-08-16 19:53:07 -07:00
2026-08-13 23:43:15 +05:30
2026-08-13 23:43:15 +05:30
2026-08-13 02:38:28 -07:00
2026-08-14 21:35:30 -07:00
2026-08-14 22:33:58 -07:00
2026-08-14 21:58:09 -07:00
2026-08-14 21:58:09 -07:00
2026-08-14 21:58:09 -07:00
2026-08-16 11:34:40 -07:00
2026-08-13 02:38:28 -07:00
2026-08-13 18:39:54 +00:00
2026-08-13 18:39:54 +00:00
2026-08-14 21:58:09 -07:00
2026-08-17 02:40:59 -07:00
2026-08-15 01:55:22 -07:00
2026-08-11 17:06:15 -05:00
2026-08-16 23:26:10 -07:00
2026-08-14 21:36:41 -07:00
2026-07-29 13:10:23 -07:00
2026-08-20 11:37:01 +05:30
2026-08-14 21:45:08 -07:00
2026-08-14 21:50:48 -07:00
2026-08-13 11:49:14 -07:00
2026-08-17 15:12:53 -05:00
2026-08-17 16:39:47 -07:00
2026-08-14 13:51:26 -07:00
2026-08-14 13:51:26 -07:00
2026-08-12 18:55:14 -07:00
2026-08-10 17:02:56 -07:00
2026-08-16 20:43:13 -07:00
2026-08-10 17:02:56 -07:00
2026-08-10 17:02:56 -07:00
2026-08-03 20:37:17 +05:30
2026-08-12 19:43:29 -07:00
2026-08-12 19:43:41 -07:00
2026-08-15 02:22:58 -07:00
2026-08-15 00:36:03 -07:00
2026-08-13 09:36:02 -07:00
2026-08-16 06:26:37 -07:00
2026-08-17 16:08:18 -05:00
2026-08-12 20:02:07 -07:00
2026-08-14 12:02:05 -04:00
2026-08-13 02:38:28 -07:00