From 80728b2e672f199bbd9130a69787268a078e2472 Mon Sep 17 00:00:00 2001 From: Google Team Member Date: Sun, 31 May 2026 14:52:44 -0700 Subject: [PATCH] feat: Onboard Vertex Model Garden in stateless GenAI Python SDK PiperOrigin-RevId: 924362030 --- google/genai/_api_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/google/genai/_api_client.py b/google/genai/_api_client.py index b998139e5..8950b5276 100644 --- a/google/genai/_api_client.py +++ b/google/genai/_api_client.py @@ -1246,12 +1246,12 @@ def _build_request( ) else: patched_http_options = self._http_options - # Skip adding project and locations when getting Vertex AI base models. + # Skip adding project and locations when getting Vertex AI base/publisher models. query_vertex_base_models = False if ( self.vertexai and http_method == 'get' - and path.startswith('publishers/google/models') + and path.startswith('publishers/') ): query_vertex_base_models = True if (