forked from phoenix/litellm-mirror
(fix) proxy - move new health check import
This commit is contained in:
parent
01aa8941a5
commit
caf2a6b279
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue