Repository navigation
Follow refreshed chat models unless the phone has an explicit pick - #716
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes Reviewed all nine changed files at f6710cb, tracing model resolution through both native view models and their existing preference persistence paths.
- Explicit choice authority: iOS and Android distinguish cache-seeded selections from user picks, allowing populated chats to adopt refreshed host models without requiring a remembered phone default.
- Optional catalogs: Without a catalog, refreshed host pairs remain authoritative and thinking levels are retained only for a matching pair; existing Bot pinning and catalog fallbacks remain intact.
- Regression coverage and documentation: New tests cover refreshed visible/hidden models, absent catalogs, and the real iOS cached-chat handoff while preserving an explicit unsent choice. Documentation describes the updated ownership rule.
- Validation: All 16 Android model-preference tests pass with in-process Kotlin compilation. Swift syntax checks and
test:ios-releasealso pass. Native iOS XCTest could not run on this Linux runner; hosted native CI was not yet complete when inspected.
gpt-6.1-sol | 𝕏
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

A phone with no remembered new-chat default could open a cached chat on model A, accept refreshed desktop metadata for model B, and still send its next turn with A (finding 6.3). This was confirmed current on main 9b2875d: the real iOS view-model regression retained OpenAI instead of refreshed Google, and Android's authority regression retained Google instead of refreshed OpenAI.
Both native authorities now receive the view model's explicit-choice flag. A populated chat follows its refreshed host pair unless the person has made or restored an unsent per-chat choice; absence of a remembered default no longer stands for a user pick. The host pair also survives optional catalog delay/failure, without carrying a thinking level from a different cached model. Bot pinning, unsent-choice persistence, new-chat defaults and per-host scope remain unchanged. No Remote wire or preference-file format changes.
Validation:
The expected pre-fix iOS 27.1 assertion failure subsequently triggered Xcode's diagnostic collection timeout (600 seconds). Its xcresult records the actual stale-provider assertion; the post-fix iOS 26.5 run passes all six tests with no timeout/retry changes. Physical devices and full native suites were not run. Existing open native PRs were checked for overlapping ownership; this change is separate from network recovery, spending, media and phone worktree work. Leave this PR OPEN; coordinator owns hosted CI/review polling.