mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
fix(utils.py): add exception mapping for databricks errors
This commit is contained in:
parent
1a8f45e8da
commit
05ba34b9b7
2 changed files with 22 additions and 17 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue