From 51c7791483a23589735be6a8fc937b3b050442ee Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Fri, 12 Apr 2024 16:14:02 -0700 Subject: [PATCH] debug _health checks --- litellm/proxy/health_check.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/litellm/proxy/health_check.py b/litellm/proxy/health_check.py index 6815ef4cb8e..5d4fbff0851 100644 --- a/litellm/proxy/health_check.py +++ b/litellm/proxy/health_check.py @@ -6,7 +6,7 @@ from typing import Optional import litellm import logging -from litellm._logging import print_verbose +from litellm._logging import print_verbose, verbose_logger from litellm import Router @@ -82,6 +82,9 @@ async def perform_health_check( """ model_list = None if litellm_router_instance is not None: + verbose_logger.debug( + "litellm_router_instance models: %s", litellm_router_instance.model_list + ) model_list = litellm_router_instance.get_model_list() if not model_list: