co-mono/packages/ai/src/providers
Michael Renner 6289c144bf
fix(ai): batch tool-result images after consecutive tool results (#902)
Fixes 400 errors when reading multiple images via GitHub Copilot's
Claude models. Claude requires tool_use -> tool_result adjacency with
no user messages interleaved.

Before: assistant(tool_calls) -> tool -> user(images) -> tool -> user(images)
After:  assistant(tool_calls) -> tool -> tool -> user(all images)
2026-01-22 13:10:10 +01:00
..
amazon-bedrock.ts fix(ai): normalize tool call ids and handoff tests fixes #821 2026-01-19 00:10:49 +01:00
anthropic.ts feat(ai): add headers option to StreamOptions for custom HTTP headers 2026-01-20 01:08:31 +01:00
google-gemini-cli.ts feat(ai): add headers option to StreamOptions for custom HTTP headers 2026-01-20 01:08:31 +01:00
google-shared.ts fix(ai): normalize tool call ids and handoff tests fixes #821 2026-01-19 00:10:49 +01:00
google-vertex.ts feat(ai): add headers option to StreamOptions for custom HTTP headers 2026-01-20 01:08:31 +01:00
google.ts feat(ai): add headers option to StreamOptions for custom HTTP headers 2026-01-20 01:08:31 +01:00
openai-codex-responses.ts fix(ai, web-ui): browser compatibility for pi-ai, update tsgo for decorator support 2026-01-22 01:33:46 +01:00
openai-completions.ts fix(ai): batch tool-result images after consecutive tool results (#902) 2026-01-22 13:10:10 +01:00
openai-responses.ts fix(ai): handle same-provider different-model handoff in OpenAI Responses API 2026-01-22 00:58:49 +01:00
transform-messages.ts fix(ai): skip errored/aborted assistant messages in transform-messages 2026-01-19 15:55:29 +01:00