-
Notifications
You must be signed in to change notification settings - Fork 236
feat: vertex optional base url configuration #1694
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
requires migrating to ai v5 first #1565 |
name: string | ||
maybeConfig: unknown | ||
}) { | ||
console.log('maybeConfig', maybeConfig) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥
}) { | ||
console.log('maybeConfig', maybeConfig) | ||
const result = vertexConfigurationSchema.safeParse(maybeConfig) | ||
console.log('result', result) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥
dd-trace: 5.43.0 | ||
promptl-ai: 0.7.5 | ||
zod: 3.24.2 | ||
zod: ^4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could be a big one. I would do a PR with this upgrade alone
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or maybe is required for sdk v5? Dont remember
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's required
Fixes #1596