From d1fa4a2b3fbe08eb2bb6cbe5e61514dd98a6cccd Mon Sep 17 00:00:00 2001 From: A Vertex SDK engineer Date: Tue, 28 Oct 2025 15:10:20 -0700 Subject: [PATCH] fix: GenAI SDK client(evals) - Pass http_options when creating Vertex Client. PiperOrigin-RevId: 825223241 --- vertexai/_genai/_evals_common.py | 1 + 1 file changed, 1 insertion(+) diff --git a/vertexai/_genai/_evals_common.py b/vertexai/_genai/_evals_common.py index 8388784272..e54dc877b4 100644 --- a/vertexai/_genai/_evals_common.py +++ b/vertexai/_genai/_evals_common.py @@ -65,6 +65,7 @@ def _get_agent_engine_instance( client = vertexai.Client( project=api_client.project, location=api_client.location, + http_options=api_client._http_options, # pylint: disable=protected-access ) _thread_local_data.agent_engine_instances[agent_name] = ( client.agent_engines.get(name=agent_name)