Files
DocsGPT/application/llm
Alex 9da7d732ce Keep tool-call message history well-formed when a tool errors
When an executed tool call raises, append the assistant message carrying the
tool_calls before the tool error result, mirroring the success path. Previously
only the tool result was appended, leaving a tool message with no preceding
tool_calls parent, which made the next provider completion reject the request.
Every tool_call id in a batch is now answered even when some calls fail.
2026-06-24 22:58:07 +01:00
..
2023-09-26 10:03:22 +01:00
2026-04-28 00:14:43 +01:00
2026-06-01 11:30:37 +02:00
2026-04-28 00:14:43 +01:00
2026-06-18 13:35:37 +01:00
2026-04-28 00:14:43 +01:00
2026-04-28 00:14:43 +01:00
2026-04-28 00:14:43 +01:00
2026-04-28 00:14:43 +01:00
2026-06-18 13:35:37 +01:00
2026-04-28 00:14:43 +01:00
2026-04-28 00:14:43 +01:00