mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
test_openai_azure_embedding_simple
This commit is contained in:
parent
b1e609be3f
commit
5b451bf483
1 changed files with 3 additions and 0 deletions
|
|
@ -148,6 +148,9 @@ async def test_openai_azure_embedding_simple(model, api_base, api_key, sync_mode
|
|||
print("Calculated request cost=", request_cost)
|
||||
|
||||
assert isinstance(response.usage, litellm.Usage)
|
||||
except litellm.BadRequestError:
|
||||
print("Bad request error occurred - Together AI raises 404s for their embedding models")
|
||||
pass
|
||||
|
||||
except Exception as e:
|
||||
pytest.fail(f"Error occurred: {e}")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue