fix: fix test

This commit is contained in:
Krrish Dholakia 2025-09-27 14:14:40 -07:00
parent 7d8135f01e
commit 77670fa419

View File

@ -775,6 +775,8 @@ async def test_async_embedding_openai():
litellm.callbacks = [customHandler_success]
response = await litellm.aembedding(
model="azure/text-embedding-ada-002",
input=["good morning from litellm"],
)
await asyncio.sleep(1)
print(f"customHandler_success.errors: {customHandler_success.errors}")
print(f"customHandler_success.states: {customHandler_success.states}")
@ -913,7 +915,6 @@ async def test_async_embedding_bedrock():
pytest.fail(f"An exception occurred: {str(e)}")
# Image Generation