mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
test(test_completion.py): fix gemini rate limit error
This commit is contained in:
parent
a6ee1e04fe
commit
8406016096
1 changed files with 2 additions and 0 deletions
|
|
@ -707,6 +707,8 @@ def test_gemini_completion_call_error():
|
|||
print(f"response: {response}")
|
||||
for chunk in response:
|
||||
print(chunk)
|
||||
except litellm.RateLimitError:
|
||||
pass
|
||||
except litellm.InternalServerError:
|
||||
pass
|
||||
except Exception as e:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue