co-mono/packages/ai/src
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
..
providers fix(ai): handle same-provider different-model handoff in OpenAI Responses API 2026-01-22 00:58:49 +01:00
utils feat(ai): add originator option to loginOpenAICodex 2026-01-20 01:28:51 +01:00
cli.ts Revert "Remove Anthropic OAuth support" 2026-01-09 06:00:20 +01:00
index.ts chore: simplify codex prompt handling 2026-01-17 21:53:01 +01:00
models.generated.ts Add [Unreleased] section for next cycle 2026-01-19 00:23:57 +01:00
models.ts Revert "feat(ai): add gpt-5.2-codex to OpenAI provider (#730)" 2026-01-14 22:22:55 +01:00
stream.ts feat(ai): add headers option to StreamOptions for custom HTTP headers 2026-01-20 01:08:31 +01:00
types.ts feat(ai): add headers option to StreamOptions for custom HTTP headers 2026-01-20 01:08:31 +01:00