[PR #4296] Fixed model selection persistence bug #10933

Closed
opened 2026-02-16 18:15:41 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/4296

State: closed
Merged: No


Fixed! The reactive effect now checks !modelStore.model[value.name] before applying the agent's default model, preserving user selections while still auto-configuring models for agents that haven't been manually configured.

Closes #4281

New%20session%20-%202025-11-13T18%3A00%3A55.675Z
opencode session  |  github run

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/4296 **State:** closed **Merged:** No --- Fixed! The reactive effect now checks `!modelStore.model[value.name]` before applying the agent's default model, preserving user selections while still auto-configuring models for agents that haven't been manually configured. Closes #4281 <a href="https://opencode.ai/s/1e5VyuQ3"><img width="200" alt="New%20session%20-%202025-11-13T18%3A00%3A55.675Z" src="https://social-cards.sst.dev/opencode-share/TmV3IHNlc3Npb24gLSAyMDI1LTExLTEzVDE4OjAwOjU1LjY3NVo=.png?model=opencode/glm-4.6&version=1.0.62&id=1e5VyuQ3" /></a> [opencode session](https://opencode.ai/s/1e5VyuQ3)&nbsp;&nbsp;|&nbsp;&nbsp;[github run](/sst/opencode/actions/runs/19341070384)
yindo added the pull-request label 2026-02-16 18:15:41 -05:00
yindo closed this issue 2026-02-16 18:15:41 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10933