mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
test(test_router.py): add retries
This commit is contained in:
parent
2cea8b0e83
commit
1ed96b1fc8
1 changed files with 1 additions and 1 deletions
|
@ -441,7 +441,7 @@ async def test_aimg_gen_on_router():
|
|||
},
|
||||
},
|
||||
]
|
||||
router = Router(model_list=model_list)
|
||||
router = Router(model_list=model_list, num_retries=3)
|
||||
response = await router.aimage_generation(
|
||||
model="dall-e-3", prompt="A cute baby sea otter"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue