mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-20 16:24:07 +00:00
test(test_completion.py): fix test
This commit is contained in:
@@ -4032,7 +4032,9 @@ def test_completion_gemini(model):
|
||||
# Add any assertions,here to check the response
|
||||
print(response)
|
||||
assert response.choices[0]["index"] == 0
|
||||
except litellm.APIError as e:
|
||||
except litellm.RateLimitError:
|
||||
pass
|
||||
except litellm.APIError:
|
||||
pass
|
||||
except Exception as e:
|
||||
if "InternalServerError" in str(e):
|
||||
|
||||
Reference in New Issue
Block a user