Compact command not working
Resolved 💬 2 comments Opened Nov 3, 2025 by davidfrechette Closed Dec 23, 2025
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of Codex is running?
0.53.0
What subscription do you have?
none - Azure OpenAI API
Which model were you using?
gpt-5-codex
What platform is your computer?
Darwin 25.0.0 arm64 arm
What issue are you seeing?
When I try to compact the memory (/compact) it try to reconnect 5 times and always fail.
But if I ask him anything it will answer the query without any connection problem
What steps can reproduce the bug?
Uploaded thread: 019a4669-88f5-7432-8cfd- 4a1b53520b5c
What is the expected behavior?
It should compact the context
Additional information
I tried it in two different sessions and it failed on both.
Both session had a context greater than 45%
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
This was likely because Azure didn't support the
compactendpoint at the time. They have since implemented it.