The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix: fix test
Krrish Dholakia77670fa41941
diff --git a/tests/local_testing/test_custom_callback_input.py b/tests/local_testing/test_custom_callback_input.pyindex 36fa31f4ac1..87e4d640f7e 100644--- a/tests/local_testing/test_custom_callback_input.py+++ b/tests/local_testing/test_custom_callback_input.py@@ -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