Teknium
0ffbcbbe7d
fix(vision): cap embedded image size before it wedges a session ( #35732 )
...
Resize vision tool-result images down to a 4 MB embed cap at load time,
not just at the 20 MB hard ceiling. A 5-20 MB image previously sailed
through the native fast path and got baked into conversation history,
where Anthropic's 5 MB per-image base64 limit rejected every subsequent
turn with a 400 — and because history is immutable, retries could never
clear it, permanently wedging the session.
Also harden the reactive shrink-recovery: it now returns False (don't
retry) when any oversized image part can't be brought under target, so
the single retry isn't burned re-sending a payload that will fail
identically. Previously it returned True after shrinking *any* part,
even when the actual oversized culprit survived.
2026-05-31 00:12:09 -07:00
..
2026-05-29 04:22:27 -07:00
2026-05-29 12:16:57 -07:00
2026-03-17 02:33:12 -07:00
2026-03-31 08:48:54 +09:00
2026-03-23 07:43:12 -07:00
2026-05-29 03:44:49 -07:00
2026-04-08 02:24:32 -07:00
2026-04-01 04:18:50 -07:00
2026-05-29 15:43:55 +10:00
2026-05-28 22:26:25 -07:00
2026-05-19 22:34:05 -07:00
2026-05-30 07:31:25 -07:00
2026-05-30 07:31:25 -07:00
2026-05-15 10:36:38 +05:30
2026-05-11 11:13:25 -07:00
2026-05-12 16:33:33 -07:00
2026-04-07 13:36:38 -07:00
2026-05-29 03:44:49 -07:00
2026-05-08 11:07:38 -07:00
2026-05-27 00:43:32 -07:00
2026-05-28 22:26:25 -07:00
2026-04-07 10:25:31 -07:00
2026-05-17 11:40:05 -07:00
2026-05-07 05:11:09 -07:00
2026-05-25 03:35:23 -07:00
2026-05-28 22:26:09 -07:00
2026-05-22 04:10:45 -07:00
2026-05-08 16:39:32 -07:00
2026-05-08 16:39:32 -07:00
2026-05-30 14:38:30 -07:00
2026-04-21 16:41:26 -07:00
2026-05-30 07:55:36 -07:00
2026-05-28 03:27:20 -07:00
2026-04-13 04:45:07 -07:00
2026-05-28 00:19:31 -07:00
2026-04-17 20:39:25 -07:00
2026-05-29 00:05:58 -07:00
2026-05-29 23:23:54 -07:00
2026-05-30 07:58:08 -07:00
2026-05-07 05:35:33 -07:00
2026-05-25 05:37:30 -07:00
2026-05-30 02:08:29 -07:00
2026-05-28 22:26:25 -07:00
2026-05-08 09:27:26 -07:00
2026-05-08 09:27:26 -07:00
2026-05-11 11:20:58 -07:00
2026-03-18 02:55:30 -07:00
2026-03-11 20:02:36 -07:00
2026-05-11 11:13:25 -07:00
2026-05-20 01:46:40 -05:00
2026-04-11 13:59:52 -07:00
2026-05-25 05:35:02 -07:00
2026-05-16 00:57:39 -07:00
2026-05-18 10:37:35 -07:00
2026-05-30 02:39:08 -07:00
2026-05-17 23:28:45 -07:00
2026-05-24 00:38:17 -07:00
2026-05-04 02:42:16 -07:00
2026-05-28 22:26:25 -07:00
2026-05-23 17:47:26 -07:00
2026-05-29 12:24:39 -07:00
2026-05-29 12:24:39 -07:00
2026-05-30 02:05:10 -07:00
2026-05-29 04:22:27 -07:00
2026-05-15 14:00:01 -07:00
2026-05-29 11:49:54 +10:00
2026-05-29 03:44:49 -07:00
2026-05-25 14:52:24 -07:00
2026-05-28 02:49:26 -07:00
2026-05-11 11:13:25 -07:00
2026-05-29 13:35:39 +10:00
2026-04-23 21:51:19 -07:00
2026-05-09 18:44:58 -07:00
2026-05-29 02:04:12 -07:00
2026-05-29 13:24:12 -07:00
2026-05-29 13:24:12 -07:00
2026-05-18 10:51:15 -07:00
2026-05-17 02:29:41 -07:00
2026-05-31 00:12:09 -07:00
2026-05-31 00:11:52 -07:00
2026-05-30 07:58:08 -07:00
2026-05-28 04:52:42 -07:00
2026-05-28 22:26:25 -07:00
2026-05-19 19:27:34 -07:00
2026-05-23 01:40:35 -07:00