You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
After selecting "Do not ask again for commands with the same prefix," the task immediately terminates with this API error. #25608
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"}}
changed the title [-]选择了 "同样开头的命令不再询问" 后,任务立即报此 API 错误终止。[/-][+]After selecting "Do not ask again for commands with the same prefix," the task immediately terminates with this API error.[/+]on Jun 12, 2026
What version of the Codex App are you using (From “About Codex” dialog)?
26.527.3686.0
What subscription do you have?
Subscribed to a plan
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?
When Codex asked whether to execute the command, I selected yes and chose not to be asked again for code with the same prefix. It then immediately reported an error and terminated the task.
Activity
github-actions commentedon Jun 1, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
[-]选择了 "同样开头的命令不再询问" 后,任务立即报此 API 错误终止。[/-][+]After selecting "Do not ask again for commands with the same prefix," the task immediately terminates with this API error.[/+]etraut-openai commentedon Jun 12, 2026
English translation:
What version of the Codex App are you using (From “About Codex” dialog)?
26.527.3686.0
What subscription do you have?
Subscribed to a plan
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?
When Codex asked whether to execute the command, I selected yes and chose not to be asked again for code with the same prefix. It then immediately reported an error and terminated the task.
What is the expected behavior?
No response
Additional information
No response