forked from phoenix/litellm-mirror
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
Add a link
Reference in a new issue