anomalyco / anomalyco/opencode

[Bug] Desktop provider "Connect" only stores API key — provider definition is not persisted

Open
#39,639 2 comments 0 reactions 1 assignee View on GitHub

@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
  1. Open OpenCode Desktop.
  2. Click "Connect" and connect a provider.
  3. Verify the provider works correctly.
  4. Restart OpenCode.
  5. Open the Providers page again.
Screenshot and/or share link

No response

Operating System

macOS Sequoia

Terminal

iTerm2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.