Repository navigation
fix(web): model picks no longer inherit another model’s traits - #36621
Conversation
…del's traits Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: GPT 6.1 Sol <[email protected]>
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — Explicit composer model picks no longer inherit options belonging to the previous model. The change is limited to option resolution and preserves existing model defaults and same-model inheritance. You can add or adjust custom eligibility rules. Learn more. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
…raits Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Dismissing prior approval to re-evaluate d52b316
EvidenceReal web client, Chromium 1280×800, light theme, fresh isolated state on both commits. The installed Codex catalog omits these legacy models, so both runs used supported custom-model entries with Medium as their default; no provider turns were sent. Steps: save GPT-5.3-Codex at Low as the project default; create an unsent thread; select GPT-5.4 without remembered traits; inspect reasoning; return to GPT-5.3-Codex. Repeat after changing the stored base slug to the equivalent
Scenario source · Model setup script
Not shown:
|
…otgg#36621) Co-authored-by: Julius Marminge <[email protected]> (cherry picked from commit 820f620)






Picking a model with no remembered traits could inherit the previous model's reasoning effort instead of using its defaults. Base traits now apply only when the draft and base selections identify the same model, using the existing custom-aware identity rule. Saved traits still restore for aliases such as
5.4andgpt-5.4, and persisted optionless thread defaults stay intact.Found by the bughunt and independently confirmed by Claude Opus 5.5, then reproduced again on main before fixing.
Proof
000d82dc67,pnpm exec vp test run apps/web/src/composerDraftStore.test.ts -t 'an explicit optionless pick'fails: the pickedgpt-5.4carrieslowfromgpt-5.3-codex, for both draft and started thread. The same test passes on the fix.pnpm exec vp run check:changedpasses format, lint, knip, affected typechecks, adjacent tests and React compiler.scenarios:prove: Replay (dev) has no trait descriptors. Actual provider dispatch is source-traced, not runtime-proven.Fast lane. Medium scope after extracting the existing private identity rule; no new storage, public interface or UI flow. Local cubic found no issues; fork repository context was unavailable.
Follow-up
Pre-existing: a draft's options for an unrelated instance can suppress the base options for the selected instance. This fix preserves that behavior and does not address requested-instance model selection on fallback.
Council review
Alias restoration and its test were fixed. Remaining nits: the options ternary could be extracted for readability; a custom-alias test at this call site duplicates coverage of the shared helper. Neither changes ticket behavior.
Created with GPT 6.1 Sol in Codex and Claude Opus 5.5 in Claude Code, orchestrated through T3 Code. GPT 6.1 Sol led and reviewed; Claude Opus 5.5 built, independently verified, trimmed and reviewed.
Closes #36620