kshitijk4poor
2ccfdb2db4
fix(agent): exempt parseable vLLM/LM Studio output-cap errors from compression-disabled guard
...
Salvage of #63862 . is_output_cap_error() returns False for vLLM/LM Studio
error messages that contain 'prompt contains ... input tokens' (treated as
input-overflow signal). But parse_available_output_tokens_from_error() CAN
extract a valid available_tokens from those same messages. The
compression-disabled guard only checked is_output_cap_error(), so vLLM/LM
Studio users with compression off still got a terminal failure instead of
the max-tokens retry.
Fix: also exempt when parse_available_output_tokens_from_error() returns a
value — that function determines whether the retry path can actually handle
the error, so it's the right predicate for the exemption.
Added test: verify vLLM-format error with compression_disabled=False still
triggers the max-tokens retry path.
Co-authored-by: dmabry <dmabry@users.noreply.github.com >
2026-07-14 03:58:54 +05:30
..
2026-05-19 17:27:24 -07:00
2026-06-19 11:37:51 -07:00
2026-07-01 03:18:41 -07:00
2026-06-07 02:15:23 -07:00
2026-05-28 22:26:25 -07:00
2026-06-28 01:15:21 -07:00
2026-06-27 21:07:53 -07:00
2026-06-27 19:37:33 -07:00
2026-05-24 15:14:13 -07:00
2026-06-28 00:57:42 -07:00
2026-07-09 20:03:11 -07:00
2026-07-09 14:27:22 +05:30
2026-05-28 22:26:25 -07:00
2026-06-16 06:23:24 -07:00
2026-06-20 11:38:01 -07:00
2026-05-21 12:49:21 +05:30
2026-07-10 18:32:32 +05:30
2026-06-30 15:30:06 -07:00
2026-06-21 11:35:09 -07:00
2026-06-08 09:41:34 -07:00
2026-07-14 02:19:40 +05:30
2026-07-11 22:59:49 +05:30
2026-05-28 22:26:25 -07:00
2026-05-27 01:52:34 -07:00
2026-06-18 21:37:52 -07:00
2026-07-09 03:21:54 +05:30
2026-05-28 22:26:25 -07:00
2026-06-25 12:56:05 -07:00
2026-05-28 22:26:25 -07:00
2026-06-25 13:08:18 -07:00
2026-07-03 12:51:12 +05:30
2026-05-28 22:26:25 -07:00
2026-05-28 22:26:25 -07:00
2026-05-20 11:44:10 -07:00
2026-06-27 19:23:15 -07:00
2026-07-05 03:14:55 -07:00
2026-05-28 22:26:25 -07:00
2026-07-02 04:51:56 +05:30
2026-07-07 14:54:50 +05:30
2026-06-12 01:06:46 -07:00
2026-07-02 05:33:25 -07:00
2026-06-21 18:05:07 -07:00
2026-05-29 19:23:05 -07:00
2026-07-01 01:08:27 -07:00
2026-05-28 22:26:25 -07:00
2026-06-27 04:39:26 -07:00
2026-06-24 23:02:48 -05:00
2026-07-11 05:43:35 -07:00
2026-07-01 16:17:46 +05:30
2026-06-27 19:07:02 -07:00
2026-06-22 18:23:21 -05:00
2026-06-25 12:56:05 -07:00
2026-07-08 11:56:17 -07:00
2026-07-05 13:42:46 -07:00
2026-05-28 22:26:25 -07:00
2026-05-28 22:26:25 -07:00
2026-05-28 22:26:25 -07:00
2026-05-27 11:30:55 -07:00
2026-05-28 22:26:25 -07:00
2026-07-09 20:52:44 -07:00
2026-06-07 22:17:35 -07:00
2026-06-17 01:04:26 +08:00
2026-06-16 10:37:37 -07:00
2026-07-05 21:36:37 -07:00
2026-07-01 05:31:09 -07:00
2026-06-30 12:07:01 -07:00
2026-06-07 21:50:57 -07:00
2026-06-18 15:46:19 +05:30
2026-06-06 13:18:18 +05:30
2026-06-12 12:21:29 -07:00
2026-07-01 05:06:00 -07:00
2026-05-25 01:47:55 -07:00
2026-06-28 01:15:21 -07:00
2026-07-01 13:36:50 +05:30
2026-07-06 12:46:20 -07:00
2026-07-11 03:44:02 -07:00
2026-06-30 03:27:41 -07:00
2026-07-01 02:18:56 -07:00
2026-07-09 14:35:14 +05:30
2026-05-28 22:26:25 -07:00
2026-05-31 06:14:32 -07:00
2026-06-07 22:22:01 -07:00
2026-07-09 13:40:19 +05:30
2026-07-11 12:09:27 +05:30
2026-07-14 03:58:54 +05:30
2026-05-28 22:26:25 -07:00
2026-05-28 22:26:25 -07:00
2026-06-19 18:06:38 -04:00
2026-06-05 20:59:36 -05:00
2026-05-28 22:26:25 -07:00
2026-07-08 01:50:14 +05:30
2026-07-08 01:50:14 +05:30
2026-05-28 22:26:25 -07:00
2026-07-02 06:36:20 +05:30
2026-05-28 22:26:25 -07:00
2026-05-28 22:26:25 -07:00
2026-07-09 02:01:56 +05:30
2026-07-11 03:44:02 -07:00
2026-07-09 18:23:10 -07:00
2026-05-27 05:43:20 -07:00
2026-07-09 16:36:06 -07:00
2026-06-13 14:35:00 -07:00
2026-06-10 12:39:44 -07:00
2026-07-10 19:12:32 -07:00
2026-07-05 06:42:28 -07:00
2026-05-19 17:27:24 -07:00
2026-07-07 15:14:30 -07:00
2026-06-24 02:15:57 +05:30
2026-05-29 03:44:49 -07:00
2026-06-27 22:03:14 -07:00
2026-07-10 11:53:58 +05:30
2026-05-28 22:26:25 -07:00
2026-06-07 21:50:57 -07:00