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]

testing skip internal server errors

Ishaan Jaff27cf31a03cb9
diff --git a/litellm/tests/test_image_generation.py b/litellm/tests/test_image_generation.py
index 56271e37c24..91bb5846507 100644
--- a/litellm/tests/test_image_generation.py
+++ b/litellm/tests/test_image_generation.py
@@ -229,6 +229,8 @@ async def test_aimage_generation_vertex_ai(sync_mode):
pass
except litellm.RateLimitError as e:
pass
+ except litellm.InternalServerError as e:
+ pass
except litellm.ContentPolicyViolationError:
pass # Azure randomly raises these errors - skip when they occur
except Exception as e: