Repro (from opencode github install):
- Install flow: Provider = OpenCode Zen, Model = GPT-5.2 Codex. Installer adds
.github/workflows/opencode.yml with model: opencode/gpt-5.2-codex.
- Action fails with
ProviderModelNotFoundError.
https://opencode.ai/zen/v1/models lists gpt-5.2-codex.
- 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.