co-mono/packages/ai/src/providers
Mario Zechner d327b9c768 fix(ai): handle same-provider different-model handoff in OpenAI Responses API
When switching between OpenAI models (e.g., gpt-5-mini to gpt-5.2-codex),
function_call IDs with fc_ prefix trigger pairing validation errors because
OpenAI tracks which fc_xxx IDs were paired with rs_xxx reasoning items.

The fix omits the id field for function_calls from different models, which
avoids the pairing validation while keeping call_id for matching with
function_call_output.

Fixes #886
2026-01-22 00:58:49 +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 feat(ai): add headers option to StreamOptions for custom HTTP headers 2026-01-20 01:08:31 +01:00
openai-completions.ts feat(ai): add headers option to StreamOptions for custom HTTP headers 2026-01-20 01:08:31 +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