OpenCode Go
OpenCode Go
Section titled “OpenCode Go”OpenCode Go 是 OpenCode 中的 Go 目錄。
它使用與 Zen 目錄相同的 OPENCODE_API_KEY,但保留 runtime
provider 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 瞭解共用的入門說明和目錄概覽。
- Runtime 參照保持明確:Zen 為
opencode/...,Go 為opencode-go/...。