Teknium
399b8ee5f0
fix(anthropic): strip Responses-only kwargs before Messages SDK call ( #31673 ) ( #42155 )
...
A Responses-API-shaped payload carrying instructions=/input=/store=/
parallel_tool_calls= can reach the native Anthropic messages.stream() /
messages.create() call under a rare api_mode-flip race (e.g. a concurrent
auxiliary vision call mutating a shared agent between the kwargs build and
the stream dispatch). The Anthropic SDK rejects these with a non-retryable
TypeError that kills the whole turn and propagates the entire fallback chain.
Add sanitize_anthropic_kwargs() at both Anthropic dispatch sites: it drops
the Responses-only keys in place and logs a WARNING (with #31673 breadcrumb)
when one is present, so the underlying race stays visible in the wild
instead of being silently papered over.
2026-06-08 09:36:38 -07:00
..
2026-06-07 22:22:21 -07:00
2026-05-18 10:14:38 -07:00
2026-06-08 09:36:38 -07:00
2026-06-08 02:13:07 -07:00
2026-06-06 12:51:12 -05:00
2026-06-04 03:03:35 -07:00
2026-05-28 22:26:25 -07:00
2026-06-02 12:37:40 -04:00
2026-06-08 06:32:23 -07:00
2026-06-08 08:58:26 -07:00
2026-05-17 23:28:45 -07:00
2026-06-08 09:35:22 -07:00
2026-06-06 11:46:24 -07:00
2026-06-04 17:40:33 -07:00
2026-06-07 17:41:10 -07:00
2026-06-07 01:52:49 -07:00
2026-06-08 01:25:35 -07:00
2026-05-14 22:27:09 -07:00
2026-06-05 13:30:02 +10:00
2026-05-28 22:26:25 -07:00
2026-06-07 23:58:47 -07:00
2026-06-07 02:33:28 -07:00
2026-06-01 19:52:28 -07:00
2026-06-01 19:51:03 -07:00
2026-05-28 22:26:25 -07:00
2026-06-06 18:33:44 -07:00
2026-05-28 22:26:25 -07:00
2026-05-18 21:43:59 -07:00
2026-05-28 22:26:25 -07:00
2026-06-03 07:32:00 +07:00
2026-06-04 03:03:35 -07:00
2026-06-01 16:06:44 +10:00
2026-06-01 13:32:55 +10:00
2026-06-05 02:54:34 -07:00
2026-05-25 15:18:55 -07:00
2026-05-28 22:26:25 -07:00
2026-05-28 22:26:25 -07:00
2026-06-08 06:32:42 -07:00
2026-05-28 22:26:25 -07:00
2026-06-03 19:37:29 -07:00
2026-06-06 19:57:44 -07:00
2026-05-28 21:40:39 -07:00
2026-05-27 14:31:55 -07:00
2026-06-07 02:41:01 -07:00
2026-06-08 09:35:22 -07:00
2026-05-29 22:29:48 -07:00
2026-05-27 10:49:33 -07:00
2026-06-01 20:13:42 -07:00
2026-06-08 02:18:21 -07:00
2026-05-14 09:05:31 -07:00
2026-05-27 13:55:51 -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-28 22:26:25 -07:00
2026-05-17 02:29:41 -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-06-04 18:04:47 -07:00
2026-06-03 11:22:06 -07:00
2026-05-28 22:26:25 -07:00
2026-06-07 03:52:09 -07:00
2026-05-16 12:15:45 -07:00
2026-06-03 12:00:27 -07:00
2026-05-28 22:26:25 -07:00
2026-06-08 09:35:22 -07:00
2026-05-28 22:26:25 -07:00
2026-06-04 08:54:38 -07:00
2026-05-21 16:40:04 +05:30
2026-05-16 00:57:39 -07:00
2026-06-08 07:03:12 -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-28 22:26:25 -07:00
2026-05-28 22:26:25 -07:00
2026-06-07 05:01:27 -07:00
2026-06-03 06:36:46 -07:00
2026-06-08 07:26:05 -07:00
2026-06-03 12:00:27 -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-06-07 17:49:38 -07:00