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%

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 9 months ago

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

  • #5385
  • #5087
  • #4868
  • #4813

Powered by Codex Action

etraut-openai contributor · 8 months ago

This was likely because Azure didn't support the compact endpoint at the time. They have since implemented it.