fix: build
This commit is contained in:
parent
87237b6462
commit
b112216241
1 changed files with 2 additions and 2 deletions
|
|
@ -2,9 +2,9 @@ package provider
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
"log/slog"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/opencode-ai/opencode/internal/logging"
|
|
||||||
"google.golang.org/genai"
|
"google.golang.org/genai"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -22,7 +22,7 @@ func newVertexAIClient(opts providerClientOptions) VertexAIClient {
|
||||||
Backend: genai.BackendVertexAI,
|
Backend: genai.BackendVertexAI,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logging.Error("Failed to create VertexAI client", "error", err)
|
slog.Error("Failed to create VertexAI client", "error", err)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue