mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
test(test_embedding.py): fix the embedding test
This commit is contained in:
parent
448ec0a571
commit
0b4e10e068
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ def test_openai_embedding():
|
|||
model="text-embedding-ada-002", input=["good morning from litellm", "this is another item"]
|
||||
)
|
||||
litellm_response = dict(response)
|
||||
litellm_response.pop("_response_ms")
|
||||
litellm_response_keys = set(litellm_response.keys())
|
||||
print(litellm_response_keys)
|
||||
print("LiteLLM Response\n")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue