Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix(test): update stale gemini-1.5-flash-001 model name to gemini-2.0-flash-001 in batch cost test

joereyna0bd6cab7db89
diff --git a/tests/test_litellm/proxy/pass_through_endpoints/test_vertex_ai_batch_passthrough.py b/tests/test_litellm/proxy/pass_through_endpoints/test_vertex_ai_batch_passthrough.py
index c2f6d3fd539..41a573689f2 100644
--- a/tests/test_litellm/proxy/pass_through_endpoints/test_vertex_ai_batch_passthrough.py
+++ b/tests/test_litellm/proxy/pass_through_endpoints/test_vertex_ai_batch_passthrough.py
@@ -243,7 +243,7 @@ class TestVertexAIBatchPassthroughHandler:
]
total_cost, usage = calculate_vertex_ai_batch_cost_and_usage(
- vertex_ai_batch_responses, model_name="gemini-1.5-flash-001"
+ vertex_ai_batch_responses, model_name="gemini-2.0-flash-001"
)
assert usage.total_tokens == 15