mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
test: handle watsonx rate limit error
This commit is contained in:
parent
f8e1b1db2e
commit
87a21115c5
4 changed files with 9 additions and 1 deletions
|
@ -3447,6 +3447,8 @@ async def test_acompletion_stream_watsonx():
|
|||
# Add any assertions here to check the response
|
||||
async for chunk in response:
|
||||
print(chunk)
|
||||
except litellm.RateLimitError as e:
|
||||
pass
|
||||
except Exception as e:
|
||||
pytest.fail(f"Error occurred: {e}")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue