Restore last model choice used in session when it is resumed

Open 💬 3 comments Opened Mar 13, 2026 by doublemover

What version of Codex CLI is running?

codex-cli 0.114.0

What subscription do you have?

Pro

Which model were you using?

Doesn't matter

What platform is your computer?

Win 11 x64

What terminal emulator and version are you using (if applicable)?

Windows Terminal, PS7.x

What issue are you seeing?

When changing the model or reasoning level in one session, resuming other sessions use that choice too instead of persisting with what they were using. Naturally I did not notice this until 5.4 xhigh kirby'd a week's worth of tokens in a day (usage tracking issues aside)

What steps can reproduce the bug?

1) Use one session for a while set to a given model/reasoning level
2) Exit codex
3) In another session, change to a higher or lower amount of reasoning, or a different model
4) Resume the other session
5) Resumed session is now using what was chosen in the other without any indication of change

What is the expected behavior?

It doesn't do this, or at least calls it out. The difference between high and xhigh is not a sufficient amount of indication

Additional information

“He wins his battles by making no mistakes.” - Sun Tzu

View original on GitHub ↗

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