Skip to content

fix(idp): use global Vertex AI endpoint for Gemini 3.x support#7423

Open
reiballa wants to merge 1 commit into
mainfrom
7422-idp-vertex-global-endpoint
Open

fix(idp): use global Vertex AI endpoint for Gemini 3.x support#7423
reiballa wants to merge 1 commit into
mainfrom
7422-idp-vertex-global-endpoint

Conversation

@reiballa

@reiballa reiballa commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Description

Use the global Vertex AI endpoint (aiplatform.googleapis.com) instead of the default regional endpoint in VertexAiClient. This enables access to newer Gemini models (3.x series) that are only available via global routing.

The global endpoint is backward compatible — older models continue to work, and the location parameter still governs data residency.

Related issues

closes #7422

Checklist

  • Backport labels are added if these code changes should be backported.
  • Tests/Integration tests for the changes have been added if applicable.
  • If the change requires a documentation update, it has been added to the appropriate section in the documentation.

Use aiplatform.googleapis.com instead of regional endpoints to enable
access to newer Gemini models (3.x series) that are only available via
global routing.

closes #7422
Copilot AI review requested due to automatic review settings June 4, 2026 11:09
@reiballa reiballa requested review from a team as code owners June 4, 2026 11:09
@reiballa reiballa requested a review from ztefanie June 4, 2026 11:09
@reiballa reiballa removed the request for review from ztefanie June 4, 2026 11:09
@reiballa reiballa changed the title feat(idp): use global Vertex AI endpoint for Gemini 3.x support fix(idp): use global Vertex AI endpoint for Gemini 3.x support Jun 4, 2026
@reiballa reiballa self-assigned this Jun 4, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the IDP extraction connector’s VertexAiClient to use Vertex AI’s global endpoint (aiplatform.googleapis.com) so users can access newer Gemini 3.x models while still providing location for regional routing/data residency.

Changes:

  • Introduced a GLOBAL_ENDPOINT constant for Vertex AI global routing.
  • Configured VertexAiGeminiChatModel via .apiEndpoint(GLOBAL_ENDPOINT) in VertexAiClient.

Comment on lines 25 to +26
.location(location)
.apiEndpoint(GLOBAL_ENDPOINT)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IDP Extraction: use global Vertex AI endpoint for Gemini 3.x model support

2 participants