Skip to content

[Bug]: OpenClaw can't get opencode list of model when onboarding #93075

Description

@alexandre-leng

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

Hi,

Steps to reproduce

1 : launch openclaw onboarding
2 : configure opencode provider
3 : do browse all models
4 : he ask to set up the full route to default model but can't get the list

Please add non regression test to it when you fix

Expected behavior

He need to retrival the full list of models from opencode

Actual behavior

openclaw can't get the list of model

OpenClaw version

2026.6.6 (8c802aa)

Operating system

ubuntu

Install method

No response

Model

Deepseek v4

Provider / routing chain

openclaw

Additional provider/model setup details

No response

Logs, screenshots, and evidence

OpenClaw 2026.6.6 (8c802aa) — Greetings, Professor Falken

▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
██░▄▄▄░██░▄▄░██░▄▄▄██░▀██░██░▄▄▀██░████░▄▄▀██░███░██
██░███░██░▀▀░██░▄▄▄██░█░█░██░█████░████░▀▀░██░█░█░██
██░▀▀▀░██░█████░▀▀▀██░██▄░██░▀▀▄██░▀▀░█░██░██▄▀▄▀▄██
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                       OPENCLAW                       
 
┌  OpenClaw setup
│
◇  Security disclaimer ──────────────────────────────────────────────────────────────────────╮
│                                                                                            │
│  OpenClaw is a hobby project and still in beta. Expect sharp edges.                        │
│  By default, OpenClaw is a personal agent: one trusted operator boundary.                  │
│  This bot can read files and run actions if tools are enabled.                             │
│  A bad prompt can trick it into doing unsafe things.                                       │
│                                                                                            │
│  OpenClaw is not a hostile multi-tenant boundary by default.                               │
│  If multiple users can message one tool-enabled agent, they share that delegated tool      │
│  authority.                                                                                │
│                                                                                            │
│  If you're not comfortable with security hardening and access control, don't run           │
│  OpenClaw.                                                                                 │
│  Ask someone experienced to help before enabling tools or exposing it to the internet.     │
│                                                                                            │
│  Recommended baseline                                                                      │
│  - Pairing/allowlists + mention gating.                                                    │
│  - Multi-user/shared inbox: split trust boundaries (separate gateway/credentials, ideally  │
│    separate OS users/hosts).                                                               │
│  - Sandbox + least-privilege tools.                                                        │
│  - Shared inboxes: isolate DM sessions (session.dmScope: per-channel-peer) and keep tool   │
│    access minimal.                                                                         │
│  - Keep secrets out of the agent's reachable filesystem.                                   │
│  - Use the strongest available model for any bot with tools or untrusted inboxes.          │
│                                                                                            │
│  Run regularly                                                                             │
│  openclaw security audit --deep                                                            │
│  openclaw security audit --fix                                                             │
│                                                                                            │
│  Learn more                                                                                │
│  - https://docs.openclaw.ai/gateway/security                                               │
│                                                                                            │
├────────────────────────────────────────────────────────────────────────────────────────────╯

◇  I understand this is personal-by-default and shared/multi-user use requires lock-down. Continue?
│  Yes

◇  Setup mode
│  QuickStart (recommended)

◇  Existing config detected ──────────────╮
│                                         │
│  Workspace: ~/.openclaw/workspace       │
│  Model: opencode-go/deepseek-v4-flash   │
│  Gateway: local via loopback on :18789  │
│  Node manager: npm                      │
│                                         │
├─────────────────────────────────────────╯

◇  Config handling
│  Review and update

◇  QuickStart ─────────────────────────────╮
│                                          │
│  Keeping your current gateway settings:  │
│  Gateway port: 18789                     │
│  Gateway bind: Loopback (127.0.0.1)      │
│  Gateway auth: Token (default)           │
│  Tailscale exposure: Serve               │
│  Direct to chat channels.                │
│                                          │
├──────────────────────────────────────────╯

◇  Model/auth provider
│  More…

◇  Model/auth provider
│  OpenCode

◇  OpenCode auth method
│  OpenCode Zen catalog

◇  OpenCode ────────────────────────────────────────────────────────────╮
│                                                                       │
│  OpenCode uses one API key across the Zen and Go catalogs.            │
│  Zen provides access to Claude, GPT, Gemini, and more models.         │
│  Get your API key at: https://opencode.ai/auth                        │
│  Choose the Zen catalog when you want the curated multi-model proxy.  │
│                                                                       │
├───────────────────────────────────────────────────────────────────────╯

◇  Enter OpenCode API key
XXXX

◇  Model configured ──────────────────────────────╮
│                                                 │
│  Default model set to opencode/claude-opus-4-6  │
│                                                 │
├─────────────────────────────────────────────────╯

◇  Default model
│  Browse all models


◇  Default model (blank to keep)
│  opencode/deepseek-v4-flash

Impact and severity

important

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High-priority user-facing bug, regression, or broken workflow.bugSomething isn't workingimpact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.regressionBehavior that previously worked and now fails

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions