adamdottv 9 miesięcy temu
rodzic
commit
b112216241
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      internal/llm/provider/vertexai.go

+ 2 - 2
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
 	}