-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Description
What version of Codex CLI is running?
codex-cli 0.106.0
What subscription do you have?
Team
Which model were you using?
- TUI
/statusshows:gpt-5.2(reasoningxhigh) - But the session rollout (
turn_context) shows the effective model is:gpt-5.3-codex
What platform is your computer?
macOS 15.7.4 (Apple Silicon)
What terminal emulator and version are you using (if applicable)?
zsh
What issue are you seeing?
In multi-agent / collab sessions, the TUI /status (and the header “Model:” line) can show a different model than the one actually used for the active thread.
This is extremely confusing because it becomes impossible to tell which model is actually answering.
Evidence (sanitized)
TUI /status (for a spawned agent thread):
Model: gpt-5.2 (reasoning xhigh, summaries detailed)
But the corresponding rollout contains turn_context with model=gpt-5.3-codex:
{"timestamp":"2026-02-27T18:52:21.984Z","type":"turn_context","payload":{"model":"gpt-5.3-codex","effort":"xhigh","approval_policy":"never","collaboration_mode":{"mode":"default","settings":{"model":"gpt-5.3-codex","reasoning_effort":"xhigh"}}}}Also, codex-tui.log shows the app-level selection can differ from the resumed session model (paths redacted):
INFO codex_tui::app: Selected model: gpt-5.2, Selected effort: xhigh
WARN session_init: codex_core::codex: resuming session with different model: previous=gpt-5.2, current=gpt-5.3-codex
What steps can reproduce the bug?
I don’t yet have a perfectly minimal repro, but it seems to involve:
- Starting a multi-agent / collab session where at least one thread ends up with a different
turn_context.modelthan the app’s selected model. - Switching into that thread in the TUI.
- Running
/status(or looking at the header).
What is the expected behavior?
/status should show the effective model for the active thread (ideally from the latest turn_context / session context), not a stale app-level selection.
If the app model is global, then the UI should still reflect the actual model used; or show both “Selected model” vs “Effective model” when they differ.
Additional information
Possibly related (same surface area: collaboration modes / model state): #9766, #9783, #11013.