mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
test(test_router.py): add retries
This commit is contained in:
parent
69935db239
commit
3935f99083
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
Reference in a new issue