LLM model/API behavior drift

OpenAI Responses API function_call output call_id arguments documentation

A parser that expects legacy run-step records cannot find tool outputs.

OpenAI APIHosted AI APIsLLM model/API behavior driftopenai_agents

Agent Quick Fix

Repair against the current OpenAI API contract, then keep the change narrow and source-backed.

Product: OpenAI API
Current-contract area: Hosted tool call shape differs between legacy Assistants and Responses integration
Likely root cause: A parser that expects legacy run-step records cannot find tool outputs.
Repair direction: Verifier checks current model ID, accepted payload, structured output/tool parsing, and behavior under retries.

Symptom

A parser that expects legacy run-step records cannot find tool outputs.

Why This Happens

SDK types may still accept fields that the selected hosted model rejects; model retirement, tokenizer, thinking, and tool behavior are external and fast-moving.

Common Wrong Fixes

  • Changing local code without checking the current external contract.
  • Retrying the same install, build, or API call with no version/source change.
  • Applying a broad unsafe bypass when a narrow compatibility fix is available.

Codex Search Keywords

These are the search terms observed in a neutral Codex validation run for this failure shape.

site:platform.openai.com/docs/api-reference/responses output function_call call_id arguments Responses API tool call OpenAI
OpenAI Responses API function_call output call_id arguments documentation
https://platform.openai.com/docs/api-reference/responses/object
'function_call' in https://platform.openai.com/docs/api-reference/responses/object
https://platform.openai.com/docs/assistants/migration
https://platform.openai.com/docs/api-reference/runs/step-object
'tool_calls' in https://platform.openai.com/docs/api-reference/run-steps
https://platform.openai.com/docs/guides/tools-code-interpreter
'code_interpreter_call' in https://platform.openai.com/docs/guides/tools-code-interpreter
'code_interpreter_call: object' in https://platform.openai.com/docs/api-reference/responses/object

Source Trail