forked from phoenix/litellm-mirror
test(test_completion.py): handle together ai timeout
This commit is contained in:
parent
1e5efdfa37
commit
94ce524c63
1 changed files with 2 additions and 0 deletions
|
@ -1269,6 +1269,8 @@ def test_completion_together_ai():
|
||||||
"Cost for completion call together-computer/llama-2-70b: ",
|
"Cost for completion call together-computer/llama-2-70b: ",
|
||||||
f"${float(cost):.10f}",
|
f"${float(cost):.10f}",
|
||||||
)
|
)
|
||||||
|
except litellm.Timeout as e:
|
||||||
|
pass
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
pytest.fail(f"Error occurred: {e}")
|
pytest.fail(f"Error occurred: {e}")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue