Before submitting#
Area#
apps/mobile
Steps to reproduce#
- Open New Task in the mobile app and choose a test project. No prompt needs to be sent.
- Open Model and reasoning settings. With GPT-6-Astra selected, set Reasoning to High and Service Tier to Fast.
- Select GPT-6-Luna, then tap Save.
- Reopen model settings and select GPT-6-Astra again. Inspect the options before saving or editing them.
- Tap Save, then reopen model settings and inspect the same options.
Expected behavior#
Selecting a model immediately displays its remembered options. In this example, reselecting GPT-6-Astra should display High and Fast, matching the values applied when saving.
Actual behavior#
Before Save, the picker displays the defaults: Reasoning: Medium and Service Tier: Standard.
After Save and reopening the picker, it displays the previously saved High and Fast, despite neither option being edited in between. The preferences are retained, but the selection preview displays the wrong values.
The current development build labels the action Save while a different model is pending, and Done when no model change is pending.
Impact#
Minor bug or occasional failure
The picker misrepresents the options that will be applied and makes saved preferences appear to have been lost.
Version or commit#
main @ c5a0c78b7c0f913610b118234117747065050a5a
Environment#
Native iOS development client; iPhone 17 Pro simulator, iOS 26.5; Expo SDK 58; Codex CLI 0.157.1; Codex model catalog with GPT-6-Astra and GPT-6-Luna. Connected to an isolated local development server with synthetic project data. No provider turn is required.
Screenshots, recordings, or supporting files#
The attached continuous recording starts with Astra showing High/Fast, switches to Luna, then reselects Astra. It shows Medium/Standard before Save and High/Fast after reopening. All visible project/thread data is synthetic; the recording contains no personal threads or pairing credentials.
https://github.com/user-attachments/assets/9b39c818-0729-40e9-9dcc-bd335302a4ef


Workaround#
Save the model selection, then reopen the picker to inspect the actual remembered options.
Source investigation#
The picker stages the raw catalog option in ThreadSettingsSheet.tsx and derives visible option rows from that pending selection at line 390. The new-task flow calls withRememberedModelOptions when applying the selection in new-task-flow-provider.tsx.
This is consistent with the observed difference between the pending preview and applied selection. The native reproduction above covers an unsent new task. Existing-thread behavior was not separately verified.
Note
Grok responding on behalf of Julius.
Triage#
Thanks for the clear recording and the source pointers, @nekohasekai. I confirmed this on current
main(c5a0c78), and I didn't find a duplicate. PR #9372 covered a different gap (existing-thread option edits not written into sticky memory) and was closed without merging.What I found#
The picker and the save path disagree about when remembered options apply.
pressModelpasses it topendingModelAfterPress, which keeps it as-is, and catalog rows frombuildModelOptionscarry{ instanceId, model }with no options.displayedDescriptorsreadspendingModel.selection.options). With no options, each row falls back to its descriptor default, which is the Medium / Standard preview in your recording.withRememberedModelOptionsinsidesetSelectedModelKey, and an existing thread does the same inThreadComposer'sonSelectModel. Reopening reads the applied selection, so High / Fast shows up without any edit.applyOptionChangewrites the full displayed set throughrememberModelOptions, so the other remembered values get replaced by those defaults before Save.ChatView, so it doesn't show this.option.selectiondirectly withoutwithRememberedModelOptions, so its preview and save both stay on catalog defaults today.Likely fix area#
withRememberedModelOptionspath Save already uses, while leaving a repeat tap on the staged model alone so in-progress edits stay put (pendingModelAfterPressalready returns the current pending option in that case).A maintainer will decide on the fix direction.