mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-11 03:38:38 +00:00
fix: fix test
This commit is contained in:
parent
7d8135f01e
commit
77670fa419
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue