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(image_gen): align Azure image gen fixture with body omitting model

Sameer Kankutec53c71ad6641
diff --git a/tests/image_gen_tests/request_payloads/azure_gpt_image_1.json b/tests/image_gen_tests/request_payloads/azure_gpt_image_1.json
index 1ad57bc0d4c..596e9be6140 100644
--- a/tests/image_gen_tests/request_payloads/azure_gpt_image_1.json
+++ b/tests/image_gen_tests/request_payloads/azure_gpt_image_1.json
@@ -1,4 +1,3 @@
{
- "model": "gpt-image-1",
"prompt": "test prompt"
}
diff --git a/tests/image_gen_tests/test_image_generation.py b/tests/image_gen_tests/test_image_generation.py
index fb7275101a0..5152e3e0129 100644
--- a/tests/image_gen_tests/test_image_generation.py
+++ b/tests/image_gen_tests/test_image_generation.py
@@ -393,6 +393,7 @@ async def test_aiml_image_generation_with_dynamic_api_key():
@pytest.mark.asyncio
async def test_azure_image_generation_request_body():
+ """Azure deployment URL selects the model; JSON body omits ``model`` (#26316)."""
from litellm import aimage_generation
test_dir = os.path.dirname(__file__)