ci/cd skip ServiceUnavailableError

This commit is contained in:
Ishaan Jaff 2024-08-08 18:54:40 -07:00
parent b14b346e2e
commit 0b64b51d55

View file

@ -36,6 +36,8 @@ def test_model_alias_map(caplog):
assert "ERROR" not in log assert "ERROR" not in log
assert "groq/llama3-8b-8192" in response.model assert "groq/llama3-8b-8192" in response.model
except litellm.ServiceUnavailableError:
pass
except Exception as e: except Exception as e:
pytest.fail(f"Error occurred: {e}") pytest.fail(f"Error occurred: {e}")