forked from phoenix/litellm-mirror
vertex_ai/codestral@2405 is very unstable - handle their instability in our tests
This commit is contained in:
parent
585b54e70c
commit
e1ca95672a
2 changed files with 5 additions and 0 deletions
|
@ -995,6 +995,8 @@ async def test_partner_models_httpx(model, sync_mode):
|
||||||
pass
|
pass
|
||||||
except litellm.APIConnectionError as e:
|
except litellm.APIConnectionError as e:
|
||||||
pass
|
pass
|
||||||
|
except litellm.ServiceUnavailableError as e:
|
||||||
|
pass
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
if "429 Quota exceeded" in str(e):
|
if "429 Quota exceeded" in str(e):
|
||||||
pass
|
pass
|
||||||
|
|
|
@ -4193,6 +4193,9 @@ async def test_completion_codestral_fim_api_stream(model):
|
||||||
except litellm.APIConnectionError as e:
|
except litellm.APIConnectionError as e:
|
||||||
print(e)
|
print(e)
|
||||||
pass
|
pass
|
||||||
|
except litellm.ServiceUnavailableError as e:
|
||||||
|
print(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