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]

test_azure_img_gen_health_check

Ishaan Jafferd8e5938f54ee
diff --git a/tests/litellm_utils_tests/test_health_check.py b/tests/litellm_utils_tests/test_health_check.py
index dc034c05fd8..4236d0195d9 100644
--- a/tests/litellm_utils_tests/test_health_check.py
+++ b/tests/litellm_utils_tests/test_health_check.py
@@ -85,12 +85,12 @@ async def test_openai_img_gen_health_check():
async def test_azure_img_gen_health_check():
+ litellm._turn_on_debug()
response = await litellm.ahealth_check(
model_params={
"model": "azure/dall-e-3",
"api_base": os.getenv("AZURE_API_BASE"),
- "api_key": os.getenv("AZURE_API_KEY"),
- "api_version": "2023-06-01-preview",
+ "api_key": os.getenv("AZURE_API_KEY")
},
mode="image_generation",
prompt="cute baby sea otter",
@@ -100,8 +100,6 @@ async def test_azure_img_gen_health_check():
return response
-# asyncio.run(test_azure_img_gen_health_check())
-
@pytest.mark.skip(reason="AWS Suspended Account")
@pytest.mark.asyncio