forked from phoenix/litellm-mirror
test(test_completion.py): handle gemini timeout error
This commit is contained in:
parent
7d824225a5
commit
7e3734d037
2 changed files with 6 additions and 1 deletions
|
@ -2139,6 +2139,8 @@ async def test_acompletion_gemini():
|
|||
response = await litellm.acompletion(model=model_name, messages=messages)
|
||||
# Add any assertions here to check the response
|
||||
print(f"response: {response}")
|
||||
except litellm.Timeout as e:
|
||||
pass
|
||||
except litellm.APIError as e:
|
||||
pass
|
||||
except Exception as e:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue