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 APIConfig to support switching to the Developer API #14521

Merged
merged 12 commits into from
Mar 5, 2025

Conversation

andrewheard
Copy link
Contributor

@andrewheard andrewheard commented Mar 3, 2025

  • Added an APIConfig type to encapsulate the API service (Vertex AI or the Gemini Developer API, see differences), the corresponding endpoint, and the API version (v1 or v1beta).
  • Added an internal static function developerAPI(app:apiConfig:) in VertexAI to support switching to the Gemini Developer API for development / integration testing.

Notes:

#no-changelog

@andrewheard andrewheard marked this pull request as ready for review March 4, 2025 21:03
@andrewheard andrewheard requested a review from ncooke3 March 4, 2025 21:03
@andrewheard andrewheard requested a review from paulb777 March 5, 2025 17:56
@andrewheard andrewheard merged commit 25f1a17 into main Mar 5, 2025
40 checks passed
@andrewheard andrewheard deleted the ah/vertex-api-config branch March 5, 2025 21:50
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.

3 participants