From caf2a6b279ddbe89ebd1d8f4499f65715d684851 Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Wed, 6 Dec 2023 10:13:06 -0800 Subject: [PATCH] (fix) proxy - move new health check import --- litellm/proxy/proxy_server.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.py index aa401fe41df..4747866691f 100644 --- a/litellm/proxy/proxy_server.py +++ b/litellm/proxy/proxy_server.py @@ -7,8 +7,6 @@ import secrets, subprocess import hashlib, uuid import warnings import importlib - -from litellm.health_check import perform_health_check messages: list = [] sys.path.insert( 0, os.path.abspath("../..") @@ -100,6 +98,7 @@ from litellm.proxy.utils import ( import pydantic from litellm.proxy.types import * from litellm.caching import DualCache +from litellm.health_check import perform_health_check litellm.suppress_debug_info = True from fastapi import FastAPI, Request, HTTPException, status, Depends, BackgroundTasks from fastapi.routing import APIRouter