From 8fe8deebded5611a07b17f928d805ae931b00e92 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Fri, 12 Apr 2024 10:55:22 -0700 Subject: [PATCH] fix print out vars used on health checks --- litellm/main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/litellm/main.py b/litellm/main.py index 903fd76d5d1..b1258226e76 100644 --- a/litellm/main.py +++ b/litellm/main.py @@ -15,7 +15,7 @@ from copy import deepcopy import httpx import litellm -from ._logging import verbose_logger +from ._logging import verbose_logger, verbose_proxy_logger from litellm import ( # type: ignore client, exception_type, @@ -3731,6 +3731,9 @@ async def ahealth_check( model, custom_llm_provider, _, _ = get_llm_provider(model=model) mode = mode or "chat" # default to chat completion calls + verbose_proxy_logger.debug( + "\nrunning /health check model %s, model_params %s", model, model_params + ) if custom_llm_provider == "azure": api_key = ( model_params.get("api_key")