OpenCode Go
OpenCode Go
Section titled “OpenCode Go”OpenCode Go 是 OpenCode 中的 Go 目录。它使用与 Zen 目录相同的 OPENCODE_API_KEY,但保留运行时提供商 ID opencode-go,以确保上游按模型路由保持正确。
opencode-go/kimi-k2.5opencode-go/glm-5opencode-go/minimax-m2.5
CLI 设置
Section titled “CLI 设置”openclaw onboard --auth-choice opencode-go# or non-interactiveopenclaw onboard --opencode-go-api-key "$OPENCODE_API_KEY"{ env: { OPENCODE_API_KEY: "YOUR_API_KEY_HERE" }, // pragma: allowlist secret agents: { defaults: { model: { primary: "opencode-go/kimi-k2.5" } } },}当模型引用使用 opencode-go/... 时,OpenClaw 会自动处理按模型路由。
- 共享引导和目录概览请参阅 OpenCode。
- 运行时引用保持显式:
opencode/...对应 Zen,opencode-go/...对应 Go。