(fix) proxy - move new health check import

This commit is contained in:
ishaan-jaff 2023-12-06 10:13:06 -08:00
parent 01aa8941a5
commit caf2a6b279

View file

@ -7,8 +7,6 @@ import secrets, subprocess
import hashlib, uuid import hashlib, uuid
import warnings import warnings
import importlib import importlib
from litellm.health_check import perform_health_check
messages: list = [] messages: list = []
sys.path.insert( sys.path.insert(
0, os.path.abspath("../..") 0, os.path.abspath("../..")
@ -100,6 +98,7 @@ from litellm.proxy.utils import (
import pydantic import pydantic
from litellm.proxy.types import * from litellm.proxy.types import *
from litellm.caching import DualCache from litellm.caching import DualCache
from litellm.health_check import perform_health_check
litellm.suppress_debug_info = True litellm.suppress_debug_info = True
from fastapi import FastAPI, Request, HTTPException, status, Depends, BackgroundTasks from fastapi import FastAPI, Request, HTTPException, status, Depends, BackgroundTasks
from fastapi.routing import APIRouter from fastapi.routing import APIRouter