Skip to content

Commit 806bda8

Browse files
Patel230claude
andcommitted
Fix opencode GO plan endpoint to /zen/go/v1
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 0487559 commit 806bda8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ func NewProvider(providerName string, apiKey ...string) (Provider, error) {
140140
model := getEnvOr("ITERATE_MODEL", "nemotron-3-super-free")
141141
model = strings.TrimPrefix(model, "opencode/")
142142
return NewOpenAICompat(OpenAICompatConfig{
143-
BaseURL: getEnvOr("OPENCODE_BASE_URL", "https://opencode.ai/go/v1"),
143+
BaseURL: getEnvOr("OPENCODE_BASE_URL", "https://opencode.ai/zen/go/v1"),
144144
Model: model,
145145
APIKey: key,
146146
}), nil

0 commit comments

Comments
 (0)