After selecting "Do not ask again for commands with the same prefix," the task immediately terminates with this API error.

Open 💬 2 comments Opened Jun 1, 2026 by chengzheng123456

What version of the Codex App are you using (From “About Codex” dialog)?

26.527.3686.0

What subscription do you have?

订阅了套餐

What platform is your computer?

Windows

What issue are you seeing?

{"error":{"message":"An assistant message with 'tool_calls' must be followed by tool messages responding to each 'tool_call_id'. (insufficient tool messages following tool_calls message)","type":"invalid_request_error","param":null,"code":"invalid_request_error"}}

What steps can reproduce the bug?

codex询问我是否执行该指令时,我选择是并且同样开头的代码不重复询问,然后就直接报错并终止了任务

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

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