mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
test fixes - azure deprecated dall-e-2
This commit is contained in:
parent
74550df197
commit
c3341a1e18
2 changed files with 5 additions and 21 deletions
|
@ -1133,10 +1133,10 @@ def test_image_generation_openai():
|
|||
|
||||
response = litellm.image_generation(
|
||||
prompt="A cute baby sea otter",
|
||||
model="azure/",
|
||||
api_base=os.getenv("AZURE_API_BASE"),
|
||||
api_key=os.getenv("AZURE_API_KEY"),
|
||||
api_version="2023-06-01-preview",
|
||||
model="azure/dall-e-3-test",
|
||||
api_version="2023-12-01-preview",
|
||||
api_base=os.getenv("AZURE_SWEDEN_API_BASE"),
|
||||
api_key=os.getenv("AZURE_SWEDEN_API_KEY"),
|
||||
)
|
||||
|
||||
print(f"response: {response}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue