Skip to content

fix(app): preserve model selection across draft remounts#36038

Closed
opencode-agent[bot] wants to merge 1 commit into
devfrom
model-reset-repro
Closed

fix(app): preserve model selection across draft remounts#36038
opencode-agent[bot] wants to merge 1 commit into
devfrom
model-reset-repro

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Summary

This isolates the remaining unmerged part of #33858 on current dev.

Testing

  • bun test --preload ./happydom.ts ./src/context/model-selection-state.test.ts ./src/components/prompt-input/submit.test.ts (6 passed)
  • bun typecheck
  • bun run test:browser (30 passed)
  • production first-navigation benchmark, 10 serial runs per ref: 0 blank and 0 unknown samples before and after; median stable destination 71.3ms before / 71.9ms after
  • Playwright real-app flow: select Sonnet in draft A, select Opus in draft B, return to draft A; before resets to Opus, after restores Sonnet

bun run test:unit has the same existing i18n parity failure on origin/dev: Arabic is missing three session.header.reveal.* keys (571 other tests pass).

@NightmareZero

Copy link
Copy Markdown

Why was it closed without being merged first?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants