You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
v2 tui: model favorites are inconsistent across sessions #37053
Model favorites are not consistently persisted or synchronized across concurrent OpenCode v2 sessions. The same model selector shows different Favorites lists in two sessions.
Install/channel: next, executable at /usr/bin/opencode2
Active plugins: .opencode/plugins/graphify.js
Reproduction
Open two OpenCode v2 TUI sessions.
In one session, open the model selector and favorite a model with Ctrl+F.
Open the model selector in both sessions.
Compare the Favorites lists.
Expected Behavior
A favorited model should be persisted and shown as a favorite in every OpenCode session.
Actual Behavior
The Favorites lists differ between sessions:
Session 1 shows GPT-5.6 Luna and GPT-5.5 under Favorites.
Session 2 shows only GPT-5.5 under Favorites.
In session 2, GPT-5.6 Luna appears under Recent instead of Favorites.
This suggests favorite state is process-local, stale, or overwritten rather than consistently synchronized through persisted state.
Additional Context
Observed with concurrent OpenCode v2 sessions.
This may be a v2 regression or a related variant of #8375, which addressed favorites being wiped on startup due to a persistence race.
Two screenshots were supplied showing the inconsistent model selector state. The GitHub CLI cannot directly upload image binaries embedded in this chat, so the exact visible evidence is described above.
Activity
github-actions commentedon Sep 15, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.