-
Notifications
You must be signed in to change notification settings - Fork 739
gpt-5.4 is sometimes shown as gpt-5 for OMX/Codex sessions #620
Copy link
Copy link
Open
Description
CodexBar seems to show gpt-5 instead of the actual runtime model gpt-5.4
for some Codex sessions, especially OMX (oh-my-codex) sessions.
What I verified:
- In the original session logs under
~/.codex/sessions/*.jsonl,
turn_context.modelisgpt-5.4 ~/.codex/log/codex-tui.logalso records the same turns asmodel=gpt-5.4- But in
~/Library/Caches/CodexBar/cost-usage/codex-v2.json, some of those
same sessions are bucketed undergpt-5
Examples:
- Misclassified:
rollout-2026-03-29T10-03-22-019d371d-f275-78d3-86c0-f5a2ba95dc17.jsonl- Source:
turn_context.model = gpt-5.4 - CodexBar cache:
days.2026-03-29.gpt-5 = [...]
- Correctly classified:
rollout-2026-03-28T11-18-17-019d323c-2c87-75b3-8566-15f873358216.jsonl- Cache includes
lastModel = gpt-5.4
From my local cache scan, 29 out of 35 sessions bucketed as gpt-5 explicitly
contain gpt-5.4 in the source JSONL, and 30 of those are OMX sessions.
So this looks less like an actual model switch and more like a CodexBar
parsing/cache fallback issue.
Suggested model resolution priority:
turn_context.modelcollaboration_mode.settings.model- Only fall back to family labels like
gpt-5if neither exists
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels