fix(utils.py): add exception mapping for databricks errors

This commit is contained in:
Krrish Dholakia 2024-07-27 13:13:31 -07:00
parent 1a8f45e8da
commit 05ba34b9b7
2 changed files with 22 additions and 17 deletions

View file

@ -770,7 +770,9 @@ def test_litellm_predibase_exception():
# print(f"accuracy_score: {accuracy_score}")
@pytest.mark.parametrize("provider", ["predibase", "vertex_ai_beta", "anthropic"])
@pytest.mark.parametrize(
"provider", ["predibase", "vertex_ai_beta", "anthropic", "databricks"]
)
def test_exception_mapping(provider):
"""
For predibase, run through a set of mock exceptions