Description
A failed authenticated remote-config fetch removes previously loaded provider settings and restrictions. If the selected model disappears, the TUI chooses another available model and saves that replacement when Enter is pressed.
Expected: retain valid settings or block model use, and preserve the selected model until the user changes it.
Plugins
Built-in only.
OpenCode version
v2, reproduced at 80c4a6b7 (2.0.24).
Steps to reproduce
- Use a local well-known endpoint whose remote config supplies a provider and an
enabled_providers allowlist.
- Log in and open a session using that provider's model.
- Make the remote config endpoint return 503 and trigger a config refresh.
- Inspect the provider list and submit a synthetic prompt after the selected model becomes unavailable.
The remote settings disappear, and submission can commit a different model.
Screenshot and/or share link
Before / After. Synthetic terminal fixture captures.
Operating System
macOS
Terminal
Native TUI test fixture.
Description
A failed authenticated remote-config fetch removes previously loaded provider settings and restrictions. If the selected model disappears, the TUI chooses another available model and saves that replacement when Enter is pressed.
Expected: retain valid settings or block model use, and preserve the selected model until the user changes it.
Plugins
Built-in only.
OpenCode version
v2, reproduced at
80c4a6b7(2.0.24).Steps to reproduce
enabled_providersallowlist.The remote settings disappear, and submission can commit a different model.
Screenshot and/or share link
Before / After. Synthetic terminal fixture captures.
Operating System
macOS
Terminal
Native TUI test fixture.