Skip to content

Desktop app model selector doesn't update available models after Zen subscription upgrade without restart #5576

@alexf37

Description

@alexf37

Description

In the desktop app, I connected Zen to an account which had not enabled billing. It, of course, gave me three free models to choose from, as is expected. However, after upgrading that account, the model list didn't refresh automatically and there was no way to refresh the available models manually other than by restarting the app.

OpenCode version

1.0.154

Steps to reproduce

  1. Set up a new OpenCode Zen account. Do not enable billing yet.
  2. Connect to Zen in OpenCode desktop with that account by using your API key.
  3. If I remember correctly, it shows you the models available immediately after connecting. But if I'm wrong about that, you can simply open up the model selector after connecting to make sure that soon-to-be-stale data gets fetched if it isn't already.
  4. In Zen (back in the browser), enable billing.
  5. Return to the OpenCode desktop app and open the model selector. The non-free models will not be listed.

Screenshot and/or share link

No response

Operating System

macOS 15.5

Terminal

Desktop App

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions