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
tui: onboarding/connected provider state incorrect with config overrides #60590
Description:
In the TUI, a provider configured only via a setting override (e.g. a timeout) could be treated as "connected" because overlayProvider set activation="enabled" for any config item. This caused the onboarding prompt / connected-provider indicator to be wrong. Also connected-provider detection only checked integration connections, so providers available through models were missed.
Steps to reproduce:
Set a provider config override that only changes settings (no endpoint/models).
Thanks for the report. I reproduced both parts on v2.2.3, and both still happen on the latest dev (95fc3c87).
Setting-only override: with no credentials, opencode models lists no openai/* models. Adding only {"provider":{"openai":{"settings":{"timeout":60000}}}} makes all 79 OpenAI models show as available, though there is still no key. The script below reproduces this. Open PR #59440 addresses this part.
Onboarding: in the TUI, a provider defined only in config (no saved connection) answers prompts normally, but the sidebar keeps showing "Getting started / Connect provider". The onboarding check only counts integration connections. The recording and screenshot below show it.
Activity
opencodejr commentedon Oct 30, 2026
Thanks for the report. I reproduced both parts on v2.2.3, and both still happen on the latest
dev(95fc3c87).Setting-only override: with no credentials,
opencode modelslists noopenai/*models. Adding only{"provider":{"openai":{"settings":{"timeout":60000}}}}makes all 79 OpenAI models show as available, though there is still no key. The script below reproduces this. Open PR #59440 addresses this part.Onboarding: in the TUI, a provider defined only in config (no saved connection) answers prompts normally, but the sidebar keeps showing "Getting started / Connect provider". The onboarding check only counts integration connections. The recording and screenshot below show it.
Related:
recording.mp4
Reproduction script (models.sh)
Run it:
bash models.sh