forked from phoenix/litellm-mirror
handle codestral@2405 instability
This commit is contained in:
parent
5f298cb9de
commit
585b54e70c
2 changed files with 5 additions and 0 deletions
|
@ -993,6 +993,8 @@ async def test_partner_models_httpx(model, sync_mode):
|
|||
pass
|
||||
except litellm.InternalServerError as e:
|
||||
pass
|
||||
except litellm.APIConnectionError as e:
|
||||
pass
|
||||
except Exception as e:
|
||||
if "429 Quota exceeded" in str(e):
|
||||
pass
|
||||
|
|
|
@ -4190,6 +4190,9 @@ async def test_completion_codestral_fim_api_stream(model):
|
|||
# cost = litellm.completion_cost(completion_response=response)
|
||||
# print("cost to make mistral completion=", cost)
|
||||
# assert cost > 0.0
|
||||
except litellm.APIConnectionError as e:
|
||||
print(e)
|
||||
pass
|
||||
except Exception as e:
|
||||
pytest.fail(f"Error occurred: {e}")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue