function-calling
2 traces
- OpenAI GPT-5.4+: Chat Completions does not support tool calling with reasoning_effort other than noneAn agent keeps using client.chat.completions.create(..., tools=[...], reasoningeffort="high") with a GPT-5.4-or-later model and tool calling fails or is rejected. Fix: Either set reasoningeffort="none" on Chat…
- OpenAI Responses API function tools are internally tagged and strict by default — not the Chat Completions shapePorting Chat Completions code to client.responses.create, the agent passes tools=[{"type":"function","function":{...}}] and responseformat=..., reads choices[0].message, and returns tool results as role: tool messages.…