Skip to content

Commit c99f62c

Browse files
committed
make loccation optional in vertex-ai provider
1 parent 9178e3d commit c99f62c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/spicy-times-judge.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"magnitude-core": patch
3+
---
4+
5+
make location optional in vertex-ai

packages/magnitude-core/src/ai/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export interface GoogleVertexClient {
5858
provider: 'vertex-ai',
5959
options: {
6060
model: string,
61-
location: string,
61+
location?: string,
6262
baseUrl?: string,
6363
projectId?: string,
6464
credentials?: string | object,

0 commit comments

Comments
 (0)