Codex says its out of context but it just compacted and context was at 100%

Resolved 💬 2 comments Opened Oct 31, 2025 by davidbenhaim Closed Nov 26, 2025

What version of Codex is running?

codex-cli 0.48.0-alpha.2

What subscription do you have?

pro

Which model were you using?

gpt-5-codex

What platform is your computer?

macos

What issue are you seeing?

"■ Codex ran out of room in the model's context window. Start a new conversation or clear earlier history before retrying."

Chat just compacted and context was at 100% but chat refused to respond. Couldn't figure out how to roll back conversation or edit history...

I had to run /new

What steps can reproduce the bug?

idk how to reproduce

What is the expected behavior?

it should properly compact and use new context.

Additional information

■ Codex ran out of room in the model's context window. Start a new conversation or clear earlier history before retrying.

View original on GitHub ↗

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