Skip to content

A previously removed provider "Model Studio Coding Plan" keeps reappearing in new sessions. #18535

@bc352562984

Description

@bc352562984

Description

Problem:
A previously removed provider "Model Studio Coding Plan" keeps reappearing in new sessions.

Behavior:

  • Not present at startup, appears after a short delay
  • Only shows in some sessions (especially new ones)
  • Cannot be removed via UI (Disconnect does nothing)
  • Not present in config files or auth.json
  • Plugin (oh-my-opencode) disabled, issue persists
  • Provider is unusable (invalid token error)

What has been ruled out:

  • Config files (opencode.json / oh-my-opencode.json)
  • auth.json (only contains openai and alibaba)
  • Desktop cache (global.dat does not contain provider info)
  • Plugin interference

Hypothesis:
Provider is being dynamically injected at runtime,
possibly by:

  • Alibaba provider compatibility layer
  • Internal provider registry
  • Workspace-triggered provider initialization

Plugins

ohmyopencode butIt has been verified that it is not the problem.

OpenCode version

1.2.27 desktop

Steps to reproduce

I'm not sure, but it was probably caused by a conflict when I manually added Ali's coding plan and the original model earlier.

Screenshot and/or share link

Image

Operating System

ubuntu25

Terminal

No response

Metadata

Metadata

Assignees

Labels

acpbugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions