forked from phoenix/litellm-mirror
fix test test_partner_models_httpx
This commit is contained in:
parent
6f1466a26b
commit
9d53b8836e
1 changed files with 3 additions and 0 deletions
|
@ -975,6 +975,7 @@ async def test_partner_models_httpx(model, sync_mode):
|
|||
data = {
|
||||
"model": model,
|
||||
"messages": messages,
|
||||
"timeout": 10,
|
||||
}
|
||||
if sync_mode:
|
||||
response = litellm.completion(**data)
|
||||
|
@ -988,6 +989,8 @@ async def test_partner_models_httpx(model, sync_mode):
|
|||
assert isinstance(response._hidden_params["response_cost"], float)
|
||||
except litellm.RateLimitError as e:
|
||||
pass
|
||||
except litellm.Timeout as e:
|
||||
pass
|
||||
except litellm.InternalServerError as e:
|
||||
pass
|
||||
except Exception as e:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue