Context left is not updated after running /compact command

Resolved 💬 3 comments Opened Aug 9, 2025 by LuciferMornens Closed Aug 11, 2025
💡 Likely answer: A maintainer (aibrahim-oai, contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

codex-cli 0.20.0

Which model were you using?

gpt-5-high reasoning

What platform is your computer?

MacOS

What steps can reproduce the bug?

The /compact command doesn't work - no errors whatsoever, but it does nothing.

It gets into 'working..' state then just returns to chat state. Nothing happens.

What is the expected behavior?

To have the AI compact the conversation, no?

What do you see instead?

_No response_

Additional information

_No response_

View original on GitHub ↗

3 Comments

callmemorgan · 1 year ago

@LuciferMornens - I've seen this behavior too, but I think /compact is working, it's just that the indicators in the footer don't update until you take your next turn.

LuciferMornens · 1 year ago

@jesanfafon yep. noticed that too.

Update: It does work, however not visible until you write something lol.

aibrahim-oai contributor · 1 year ago

Should be fixed in the next release.