Skip to content

[Bug]: OpenCode Zen onboarding only exposes default model; opencode/* catalog discovery is empty #93492

Description

@civiltox

Bug type

Behavior bug (incorrect output/state without crash)

Beta release blocker

No

Summary

OpenCode Zen onboarding succeeds and configures opencode/claude-opus-4-6, but other manually allowlisted opencode/... models appear selectable without corresponding executable provider catalog rows, causing Unknown model failures.

Steps to reproduce

Shortest repro:

openclaw onboard --auth-choice opencode-zen
openclaw models list --provider opencode   # only shows opencode/claude-opus-4-6
openclaw config set agents.defaults.models '{"opencode/gpt-5.4-mini":{}}' --strict-json --merge

Then in chat:

/model opencode/gpt-5.4-mini

Observed result: OpenClaw accepts the allowlist entry as selectable/configured, then the embedded runner fails with Unknown model because no provider catalog row exists for opencode/gpt-5.4-mini.

Expected behavior

Based on the 2026.6.6 onboarding text saying “Zen provides access to Claude, GPT, Gemini, and more models”: after openclaw onboard --auth-choice opencode-zen, openclaw models list --provider opencode should expose the configured/available OpenCode Zen catalog refs for those model families, or at least /model should not present manually allowlisted opencode/... refs as selectable unless the runner can resolve them.

Actual behavior

On OpenClaw 2026.6.6 (8c802aa), after openclaw onboard --auth-choice opencode-zen, openclaw models list --provider opencode shows only one model: opencode/claude-opus-4-6 with tags default,configured,alias:Opus. openclaw config get agents.defaults.model --json shows the primary set to opencode/claude-opus-4-6, and openclaw models auth list --provider opencode --json shows an opencode:default API-key profile. Earlier, manually adding opencode/gpt-5.4-mini to agents.defaults.models made it selectable, but selecting /model opencode/gpt-5.4-mini failed with Unknown model ... Found agents.defaults.models["opencode/gpt-5.4-mini"], but no matching models.providers["opencode"].models[] entry.

OpenClaw version

2026.6.6

Operating system

Debian 13

Install method

npm global

Model

opencode/gpt-5.4-mini

Provider / routing chain

openclaw -> opencode zen -> gpt-5.4-mini

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbug:behaviorIncorrect behavior without a crash

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions