Skip to content

Commit a1924a9

Browse files
jsondaicopybara-github
authored andcommitted
chore: GenAI Client - remove autopush/staging endpoint usage in replay tests
PiperOrigin-RevId: 893175350
1 parent f302d1f commit a1924a9

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/unit/vertexai/genai/replays/test_evaluate.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,6 @@ def test_evaluation_byor(client):
9999

100100
def test_evaluation_agent_data(client):
101101
"""Tests evaluate method with AgentData."""
102-
client._api_client._http_options.base_url = (
103-
"https://autopush-aiplatform.sandbox.googleapis.com/"
104-
)
105102
client._api_client._http_options.api_version = "v1beta1"
106103

107104
agent_data = types.evals.AgentData(
@@ -356,9 +353,6 @@ def test_evaluation_agent_data(client):
356353
def test_evaluation_metric_resource_name(client):
357354
"""Tests with a metric resource name in types.Metric."""
358355
client._api_client._http_options.api_version = "v1beta1"
359-
client._api_client._http_options.base_url = (
360-
"https://us-central1-staging-aiplatform.sandbox.googleapis.com/"
361-
)
362356
tone_check_metric = types.LLMMetric(
363357
name="tone_check",
364358
prompt_template="""

0 commit comments

Comments
 (0)