Skip to content

The open source coding agent.

TypeScript

fix: build

adamdottvb112216241ce
diff --git a/internal/llm/provider/vertexai.go b/internal/llm/provider/vertexai.go
index 2a13a957204..328d213fef7 100644
--- a/internal/llm/provider/vertexai.go
+++ b/internal/llm/provider/vertexai.go
@@ -2,9 +2,9 @@ package provider
import (
"context"
+ "log/slog"
"os"
- "github.com/opencode-ai/opencode/internal/logging"
"google.golang.org/genai"
)
@@ -22,7 +22,7 @@ func newVertexAIClient(opts providerClientOptions) VertexAIClient {
Backend: genai.BackendVertexAI,
})
if err != nil {
- logging.Error("Failed to create VertexAI client", "error", err)
+ slog.Error("Failed to create VertexAI client", "error", err)
return nil
}