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
[Bug]: OpenCode model catalog is not reloaded when opencode.json changes; new providers need manual Refresh or app restart #31977
Save the file, then open the composer model picker and search for the new model.
Expected behavior
The new provider/model appears in the picker. Upstream OpenCode watches config files and reloads providers without a restart, so T3 Code should pick up the change (or at least re-probe the catalog when the picker opens).
Actual behavior
The new model is absent from the picker. It only appears after either:
a full app restart, or
going to Settings → Providers and clicking "Refresh provider status" (whose description says it refreshes "versions, and models in the background"), waiting, and reopening the picker.
Verified on the running app: added the probe provider, confirmed it was missing from the picker, clicked Refresh, waited ~8s, reopened the picker — the probe model was then listed as OpenCode · ZZ Probe. So file changes are never picked up automatically; only the manual refresh path re-probes.
No errors are logged; the models are silently missing until refresh/restart.
Workaround
Settings → Providers → Refresh provider status, or restart the app. Related but distinct issues: #24459 (project-local opencode.jsonc providers never load) and #15155 (closed boot-time probe race with globally configured providers). This report is about the global catalog going stale after startup.
Activity
fix(opencode): model picker picks up opencode.json edits without a re…