Persist Codex Thinking Level and Fast Mode#1004
Persist Codex Thinking Level and Fast Mode#1004maskdotdev wants to merge 7 commits intopingdotgg:mainfrom
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
juliusmarminge
left a comment
There was a problem hiding this comment.
should behave similar to the draft state for model selected
CleanShot.2026-03-12.at.20.59.10.mp4
e3f0355 to
028a5c5
Compare
028a5c5 to
a56568a
Compare
|
Alright I think this is the proper behavior that should behave similar to the draft state for model selected t3code-persist-thinking.mp4 |
What Changed
Moved Codex reasoning effort and fast mode from thread local draft state to persisted global last used settings. ChatView, app settings, and composer draft persistence were updated so the composer follows the shared preference across threads and sessions, and the reasoning labels were centralized in one helper.
Why
resolve #384
Checklist
Video
t3code-persist-thinking.mp4
Note
Persist Codex reasoning effort and fast mode across sessions and threads
defaultCodexReasoningEffort(default:"high") andlastUsedCodexFastMode(default:false) to app settings so selections survive page reloads.codexFastModeinComposerThreadDraftStatefrombooleantoboolean | null, wherenullmeans "follow global setting" — explicitfalseis now preserved and persisted.resolveComposerReasoningEffortin ChatView.logic.ts to derive the active effort from the per-thread draft, falling back to the Codex global default or provider default.clearPromotedDraftThreadsnow only removes thread registration mappings, preserving draft content when a thread is promoted.falsefor fast mode was not persisted.Macroscope summarized 274babf.