Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions google/genai/_api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
Loading