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
style: black format test_health_check_max_tokens.py
Ishaan Jafferf2a1dbe7c985
diff --git a/tests/test_litellm/proxy/test_health_check_max_tokens.py b/tests/test_litellm/proxy/test_health_check_max_tokens.pyindex bb125f764b8..4d417b40b59 100644--- a/tests/test_litellm/proxy/test_health_check_max_tokens.py+++ b/tests/test_litellm/proxy/test_health_check_max_tokens.py@@ -53,10 +53,13 @@ async def test_ahealth_check_wildcard_models_respects_max_tokens():Test that ahealth_check_wildcard_models respects max_tokens if passed,otherwise defaults to 10."""- with patch(- "litellm.litellm_core_utils.llm_request_utils.pick_cheapest_chat_models_from_llm_provider",- return_value=["gpt-4o-mini"],- ), patch("litellm.acompletion", new_callable=AsyncMock):+ with (+ patch(+ "litellm.litellm_core_utils.llm_request_utils.pick_cheapest_chat_models_from_llm_provider",+ return_value=["gpt-4o-mini"],+ ),+ patch("litellm.acompletion", new_callable=AsyncMock),+ ):# Test Case 1: No max_tokens passed, should default to 10model_params = {}await HealthCheckHelpers.ahealth_check_wildcard_models(