fabro/crates
Bryan Helmkamp 6e15d602d0 Fix OpenAI Responses API function call ID prefix mismatch
The Responses API returns two distinct IDs on function_call items:
- `id` (item-level, starts with `fc_`)
- `call_id` (call-level, starts with `call_`)

When sending function calls back as input, the `id` field must start
with `fc_`. Previously we used `call_id` for both fields, causing:
"Invalid 'input[1].id': Expected an ID that begins with 'fc'."

Now we preserve the item-level `id` in provider_metadata and use it
for the `id` field, while `call_id` continues to link tool results.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 10:27:24 -05:00
..
agent Remove deprecated anthropic-beta header values 2026-02-23 10:05:43 -05:00
attractor Rename unified-llm crate to llm 2026-02-23 09:22:14 -05:00
llm Fix OpenAI Responses API function call ID prefix mismatch 2026-02-23 10:27:24 -05:00