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
Default model not visible in model selector after switching #23247
When the default model (auto-selected via providers.default()) is not the latest in its family, it is hidden from the model selector list. The model appears as the current selection, but switching to another model makes it impossible to switch back.
Steps to Reproduce
Configure a provider where the default model has a valid release_date but is not the latest in its family (e.g., zai-coding-plan/glm-5.1 where glm-5-turbo is newer)
Open the web UI — the default model is shown as current
Open the model selector — the default model is not in the list
Switch to a different model
Try to switch back — cannot find the default model
Root Cause
models.tsxvisible() hides models with valid release dates that are not the latest in their family by default. local.tsx only auto-marks the configured model (from opencode.json) as visible, but not the default model from providers.default().
Activity
github-actions commentedon Jul 3, 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.