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 update deprecated model test

Sameer Kankute374c35a6b795
diff --git a/tests/llm_translation/test_gemini.py b/tests/llm_translation/test_gemini.py
index c9ee3625395..796b35b436e 100644
--- a/tests/llm_translation/test_gemini.py
+++ b/tests/llm_translation/test_gemini.py
@@ -271,7 +271,7 @@ def test_gemini_context_caching_separate_messages():
def test_gemini_image_generation():
# litellm._turn_on_debug()
response = completion(
- model="gemini/gemini-2.0-flash-exp-image-generation",
+ model="gemini/gemini-2.5-flash-image-preview",
messages=[{"role": "user", "content": "Generate an image of a cat"}],
modalities=["image", "text"],
)