anomalyco / anomalyco/opencode
[Bug] Desktop provider "Connect" only stores API key — provider definition is not persisted
Open
@Hona is already working on this.
Since Jul 30, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
After connecting a provider using the Desktop "Connect" feature, only the API key appears to be stored.
The provider definition (model list, endpoint, provider configuration, etc.) is not persisted. After restarting OpenCode, the connected provider no longer appears in the UI and needs to be configured again.
Plugins
None
OpenCode version
1.18.9
Steps to reproduce
- Open OpenCode Desktop.
- Click "Connect" and connect a provider.
- Verify the provider works correctly.
- Restart OpenCode.
- Open the Providers page again.
Screenshot and/or share link
No response
Operating System
macOS Sequoia
Terminal
iTerm2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.