test(test_completion.py): skip unresponsive endpoint

This commit is contained in:
Krrish Dholakia
2024-03-27 20:12:22 -07:00
parent 2926d5a8eb
commit 9ef7afd2b4
+1
View File
@@ -1107,6 +1107,7 @@ def test_completion_openai_litellm_key():
# test_ completion_openai_litellm_key()
@pytest.mark.skip(reason="Unresponsive endpoint.[TODO] Rehost this somewhere else")
def test_completion_ollama_hosted():
try:
litellm.request_timeout = 20 # give ollama 20 seconds to response