Michael Suchacz
0211448d09
fix(coderd): sanitize Anthropic provider tool history ( #24706 )
...
Anthropic can reject replayed chat histories when a provider-executed
tool call, such as `web_search`, is present without its matching
provider result block.
This sanitizes unpaired Anthropic provider-executed tool calls during
prompt reconstruction, before Anthropic requests, and before persistence
so existing poisoned histories can continue and new malformed turns are
not stored.
Resolves: CODAGT-259
> Mux is acting on Mike's behalf.
2026-04-24 23:57:30 +02:00
..
2026-03-23 17:34:43 +00:00
2026-04-22 15:14:31 +02:00
2026-04-22 00:05:27 +10:00
2026-04-24 23:57:30 +02:00
2026-04-24 23:57:30 +02:00
2026-04-22 14:20:23 +02:00
2026-04-20 11:09:47 +01:00
2026-04-23 19:07:38 +02:00
2026-04-23 19:58:38 +01:00
2026-03-30 11:43:59 +00:00
2026-04-23 19:58:38 +01:00
2026-04-20 18:04:35 +10:00
2026-04-22 20:11:53 +10:00
2026-04-20 12:27:16 +02:00
2026-04-23 19:07:38 +02:00
2026-04-24 23:57:30 +02:00
2026-04-24 23:57:30 +02:00
2026-03-30 17:51:51 +11:00
2026-03-26 18:04:53 +11:00
2026-04-09 16:33:00 +02:00
2026-03-27 18:47:39 +11:00
2026-03-27 18:47:39 +11:00
2026-04-08 11:54:44 -04:00
2026-04-08 11:54:44 -04:00
2026-04-03 20:04:09 +02:00
2026-04-15 16:41:15 -04:00
2026-04-09 16:33:00 +02:00
2026-04-13 12:31:25 +01:00
2026-04-21 14:01:32 +02:00
2026-04-13 19:59:47 +02:00
2026-04-20 12:27:16 +02:00
2026-04-21 14:01:32 +02:00
2026-04-22 20:11:53 +10:00
2026-03-25 14:09:24 +00:00
2026-03-25 14:09:24 +00:00
2026-04-22 20:11:53 +10:00
2026-04-22 20:11:53 +10:00
2026-04-17 16:16:30 +01:00
2026-04-24 12:37:20 +02:00
2026-04-23 13:18:18 +01:00
2026-04-24 12:37:20 +02:00
2026-04-21 14:01:32 +02:00
2026-04-24 12:37:20 +02:00
2026-03-23 17:34:43 +00:00
2026-04-14 16:56:17 +01:00