Skip to content

OpenCode Zen GPT-5.2 Codex install model fails (ProviderModelNotFoundError) #8587

@justcarlson

Description

@justcarlson

Repro (from opencode github install):

  1. Install flow: Provider = OpenCode Zen, Model = GPT-5.2 Codex. Installer adds .github/workflows/opencode.yml with model: opencode/gpt-5.2-codex.
  2. Action fails with ProviderModelNotFoundError.
  3. https://opencode.ai/zen/v1/models lists gpt-5.2-codex.
  4. Switching workflow to model: gpt-5.2-codex fails: "Model must be in the format provider/model".

Expected: the installer should emit a model string that both passes CLI validation and resolves, or the models endpoint should return provider-prefixed IDs consistent with the CLI.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions