mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
test: fix test
This commit is contained in:
parent
9df0588c2c
commit
2d47acad6c
1 changed files with 1 additions and 1 deletions
|
@ -692,7 +692,7 @@ async def test_rate_limit_error_callback():
|
||||||
messages=[{"role": "user", "content": "Hey, how's it going?"}],
|
messages=[{"role": "user", "content": "Hey, how's it going?"}],
|
||||||
litellm_logging_obj=litellm_logging_obj,
|
litellm_logging_obj=litellm_logging_obj,
|
||||||
)
|
)
|
||||||
except litellm.RateLimitError:
|
except (litellm.RateLimitError, ValueError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
await asyncio.sleep(3)
|
await asyncio.sleep(3)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue