Skip to content

Commit c32e797

Browse files
committed
fix: missing Backend in genai.ClientConfig
1 parent 91299b0 commit c32e797

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

llms/googleai/vertex/new.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ func New(ctx context.Context, opts ...Option) (*Vertex, error) {
2727
}
2828

2929
config := &genai.ClientConfig{
30+
Backend: genai.BackendVertexAI,
3031
Project: clientOptions.cloudProject,
3132
Location: clientOptions.cloudLocation,
3233
Credentials: clientOptions.credentials,

0 commit comments

Comments
 (0)