test(test_embedding.py): fix the embedding test

This commit is contained in:
Krrish Dholakia 2023-11-22 14:09:45 -08:00
parent 448ec0a571
commit 0b4e10e068

View file

@ -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")