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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix test test_aimage_generation_vertex_ai
Ishaan Jaff1c1631222c84
diff --git a/litellm/tests/test_image_generation.py b/litellm/tests/test_image_generation.pyindex e59cf286519..6648b202b9d 100644--- a/litellm/tests/test_image_generation.py+++ b/litellm/tests/test_image_generation.py@@ -7,6 +7,7 @@ import sysimport tracebackfrom dotenv import load_dotenv+from openai.types.image import Imagelogging.basicConfig(level=logging.DEBUG)load_dotenv()@@ -218,7 +219,7 @@ async def test_aimage_generation_vertex_ai(sync_mode):assert len(response.data) > 0for d in response.data:- assert isinstance(d, litellm.ImageObject)+ assert isinstance(d, Image)print("data in response.data", d)assert d.b64_json is not Noneexcept litellm.ServiceUnavailableError as e: