mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
(test) embedding: azurea - dd response_ms
This commit is contained in:
parent
0e3064ac8c
commit
f816b69b5e
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ def test_openai_azure_embedding_simple():
|
||||||
)
|
)
|
||||||
print(response)
|
print(response)
|
||||||
response_keys = dict(response).keys()
|
response_keys = dict(response).keys()
|
||||||
assert set(["usage", "model", "object", "data"]) == set(response_keys) #assert litellm response has expected keys from OpenAI embedding response
|
assert set(["usage", "model", "object", "data", "_response_ms"]) == set(response_keys) #assert litellm response has expected keys from OpenAI embedding response
|
||||||
|
|
||||||
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