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
test_async_chat_azure
Ishaan Jafferafbebcd626e4
diff --git a/tests/logging_callback_tests/test_custom_callback_router.py b/tests/logging_callback_tests/test_custom_callback_router.pyindex f831df2e2d2..91d79619196 100644--- a/tests/logging_callback_tests/test_custom_callback_router.py+++ b/tests/logging_callback_tests/test_custom_callback_router.py@@ -407,7 +407,7 @@ async def test_async_chat_azure():]router = Router(model_list=model_list, num_retries=0) # type: ignoreresponse = await router.acompletion(- model="gpt-3.5-turbo",+ model="gpt-4.1-nano",messages=[{"role": "user", "content": "Hi 👋 - i'm openai"}],)print("got response, sleeping 5 seconds....")@@ -422,7 +422,7 @@ async def test_async_chat_azure():litellm.callbacks = [customHandler_streaming_azure_router]router2 = Router(model_list=model_list, num_retries=0) # type: ignoreresponse = await router2.acompletion(- model="gpt-3.5-turbo",+ model="gpt-4.1-nano",messages=[{"role": "user", "content": "Hi 👋 - i'm openai"}],stream=True,)