Compact tool use failing

Resolved 💬 3 comments Opened Oct 20, 2025 by brianthompson-sarcat Closed Oct 20, 2025
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

codex-cli 0.47.0

What subscription do you have?

pro

Which model were you using?

gpt-5 high

What platform is your computer?

linux debian bookworm (Linux 6.1.0-40-cloud-arm64 aarch64 unknown)

What issue are you seeing?

running /compact in a session suddenly started failing.

it shows inability to connect (retrying x/5) and then outputs an error of "No tool output found for function call call_sU7XBNcR8nNV7j2rvuzYEHCP.",

What steps can reproduce the bug?

run /compact within a session

What is the expected behavior?

retry connection 5 times and fail with output

■ unexpected status 400 Bad Request: {
"error": {
"message": "No tool output found for function call call_sU7XBNcR8nNV7j2rvuzYEHCP.",
"type": "invalid_request_error",
"param": "input",
"code": null
}
}

regular inference performing fine

Additional information

_No response_

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 10 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #5087

Powered by Codex Action

brianthompson-sarcat · 10 months ago

Not a duplicate. Different version, different output, different tool reference.

pakrym-oai contributor · 10 months ago

Same underlying cause as https://github.com/openai/codex/issues/5087. We're working on it. I'll close as a dup.