mirror of
https://github.com/earendil-works/pi.git
synced 2026-06-18 15:54:04 +08:00
d327b9c768
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
d327b9c768
ยท
2026-01-22 00:58:49 +01:00
History