From b061d611306207602e7ad2f073b92156835ccbd2 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Sat, 28 Oct 2023 13:52:05 -0700 Subject: [PATCH] build(litellm_server/main.py): build fixes --- litellm_server/main.py | 2 +- litellm_server/utils.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/litellm_server/main.py b/litellm_server/main.py index 9b352f685b2..303259ca3c7 100644 --- a/litellm_server/main.py +++ b/litellm_server/main.py @@ -7,7 +7,7 @@ import json import os from typing import Optional try: - from utils import set_callbacks, load_router_config + from utils import set_callbacks, load_router_config, print_verbose except ImportError: from litellm_server.utils import set_callbacks, load_router_config, print_verbose import dotenv diff --git a/litellm_server/utils.py b/litellm_server/utils.py index 53ee75b3604..5f328d328e3 100644 --- a/litellm_server/utils.py +++ b/litellm_server/utils.py @@ -4,6 +4,7 @@ import dotenv dotenv.load_dotenv() # load env variables def print_verbose(print_statement): + print(f"SET_VERBOSE value: {os.environ['SET_VERBOSE']}") if os.environ["SET_VERBOSE"] == "True": print(print_statement)