bug: interrupting model run breaks session with `No tool output found for function call`

Resolved 💬 2 comments Opened Apr 19, 2025 by scottleibrand Closed Apr 19, 2025
💡 Likely answer: A maintainer (tibo-openai, collaborator) responded on this thread — see the highlighted reply below.

What version of Codex is running?

0.1.2504172351

Which model were you using?

o4-mini

What platform is your computer?

Darwin 24.4.0 x86_64 i386

What steps can reproduce the bug?

When I hit esc to interrupt the model, future commands error out with No tool output found for function call:

system
⏹️ Execution interrupted by user. You can continue typing.
user
No, I just switched you to suggest mode. Retry gh

system
⚠️ OpenAI rejected the request (request ID: req_62d3509139ba74cded7f5e7e4774c914). Error details: Status: 400, Code: unknown, Type:
invalid_request_error, Message: 400 No tool output found for function call call_F8pwMPCgihaegOtcP0Sj5VOj.. Please verify your settings and
try again.

What is the expected behavior?

_No response_

What do you see instead?

_No response_

Additional information

_No response_

View original on GitHub ↗

2 Comments

tibo-openai collaborator · 1 year ago

Looks like a bug! Would accept a PR with the fix.

tibo-openai collaborator · 1 year ago