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]

vtx test fix gemini-2.5-flash-lite

Ishaan Jaffdfada882f1f8
diff --git a/tests/local_testing/test_amazing_vertex_completion.py b/tests/local_testing/test_amazing_vertex_completion.py
index d5a7271ae20..d1c0fb4e01c 100644
--- a/tests/local_testing/test_amazing_vertex_completion.py
+++ b/tests/local_testing/test_amazing_vertex_completion.py
@@ -518,7 +518,7 @@ async def test_gemini_pro_vision(provider, sync_mode):
litellm.num_retries = 3
if sync_mode:
resp = litellm.completion(
- model="{}/gemini-2.5-flash-lite-preview-0514".format(provider),
+ model="{}/gemini-2.5-flash-lite".format(provider),
messages=[
{"role": "system", "content": "Be a good bot"},
{
@@ -537,7 +537,7 @@ async def test_gemini_pro_vision(provider, sync_mode):
)
else:
resp = await litellm.acompletion(
- model="{}/gemini-2.5-flash-lite-preview-0514".format(provider),
+ model="{}/gemini-2.5-flash-lite".format(provider),
messages=[
{"role": "system", "content": "Be a good bot"},
{
@@ -605,7 +605,7 @@ def test_completion_function_plus_pdf(load_pdf):
image_message = {"role": "user", "content": image_content}
response = completion(
- model="vertex_ai_beta/gemini-2.5-flash-lite-preview-0514",
+ model="vertex_ai_beta/gemini-2.5-flash-lite",
messages=[image_message],
stream=False,
)