gpt5 and claude mode failed for tool calls

Resolved 💬 3 comments Opened Dec 31, 2025 by itech001 Closed Dec 31, 2025

What version of Codex is running?

code-cli 0.77.0

What subscription do you have?

none

Which model were you using?

gpt-5 aws-claude-sonnet-4.5

What platform is your computer?

linux

What issue are you seeing?

gpt5 model

error: An assistant message with 'tool_calls' must be followed by tool messages responding to each 'tool_call_id'. The following tool_call_ids did not have response messages: call_xxx

What steps can reproduce the bug?

set model_providers with custom base_url and model gpt-5

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗