summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authoradamdottv <[email protected]>2025-05-15 13:36:58 -0500
committeradamdottv <[email protected]>2025-05-15 13:36:58 -0500
commitb112216241ce6f17bd020d5299669c2eb0aa791d (patch)
tree0e64a4844be2fc68a2842a14a3c647de518825d5
parent87237b6462b9dfd379b22e69712e8dc516afad9d (diff)
downloadopencode-b112216241ce6f17bd020d5299669c2eb0aa791d.tar.gz
opencode-b112216241ce6f17bd020d5299669c2eb0aa791d.zip
fix: build
-rw-r--r--internal/llm/provider/vertexai.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/llm/provider/vertexai.go b/internal/llm/provider/vertexai.go
index 2a13a9572..328d213fe 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
}