mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-06 10:21:32 +00:00
test(test_amazing_vertex_completion.py): fix test to handle rate limit errors
This commit is contained in:
@@ -222,6 +222,8 @@ async def test_async_vertexai_response():
|
||||
model=model, messages=messages, temperature=0.7, timeout=5
|
||||
)
|
||||
print(f"response: {response}")
|
||||
except litellm.RateLimitError as e:
|
||||
pass
|
||||
except litellm.Timeout as e:
|
||||
pass
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user