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

Open
opened 2026-02-16 17:59:29 -05:00 by yindo · 0 comments
Owner

Originally created by @justcarlson on GitHub (Jan 14, 2026).

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.

Originally created by @justcarlson on GitHub (Jan 14, 2026). 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.
yindo added the help-wanted label 2026-02-16 17:59:29 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6014