Skip to content
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

[Vertex AI] Add apiVersion parameter to RequestOptions #14356

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

andrewheard
Copy link
Contributor

@andrewheard andrewheard commented Jan 16, 2025

WIP - Needs API review

Added the ability to specify an API version (e.g., v1 or v1beta) when initializing RequestOptions.

#no-changelog

@andrewheard
Copy link
Contributor Author

Removed ExpressibleByStringLiteral conformance for APIVersion since we don't currently have a use-case where using the static properties APIVersion.v1 and APIVersion.v1beta would not be sufficient.

Adding ExpressibleByStringLiteral conformance later, or a static func custom(_ versionIdentifier: String), wouldn't be breaking changes so they've been left out for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant