mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
debug _health checks
This commit is contained in:
parent
6fd58ef4bd
commit
51c7791483
1 changed files with 4 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue