openai / openai/codex

Codex loses track of session model/effort

Open
#46,361 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app bug session
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

What version of the Codex App are you using (From “About Codex” dialog)?

v0.154.0

What subscription do you have?

Pro

What platform is your computer?

No response

What issue are you seeing?

When backtracking to a previous message, model can change if in another Codex session I've used a different model.

What steps can reproduce the bug?
  1. Start Session 1 and set it to Astra medium. Send a few messages (so you can backtrack later)
  2. In another terminal, start Session 2 and set the model to Sol high
  3. Go back to Session 1 and backtrack to an older message

Now Session 1 is using Sol high instead of Astra medium.

What is the expected behavior?

Backtracking must not change model and effort. In the example above, Session 1 should have continued to use Astra medium.

Additional information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with two Codex sessions, using different models and effort levels, then trace the backtracking and session-state handling. Done means returning to an older message in Session 1 preserves its original model and effort instead of adopting Session 2's settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.