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