test(test_image_generation.py): fix azure dall e test

This commit is contained in:
Krrish Dholakia 2024-06-03 23:32:19 -07:00
parent 8ebae96008
commit 8625280c32

View file

@ -115,7 +115,9 @@ async def test_async_image_generation_openai():
async def test_async_image_generation_azure(): async def test_async_image_generation_azure():
try: try:
response = await litellm.aimage_generation( response = await litellm.aimage_generation(
prompt="A cute baby sea otter", model="azure/dall-e-3-test" prompt="A cute baby sea otter",
model="azure/dall-e-3-test",
api_version="2023-09-01-preview",
) )
print(f"response: {response}") print(f"response: {response}")
except litellm.RateLimitError as e: except litellm.RateLimitError as e: