mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
build(litellm_server/main.py): build fixes
This commit is contained in:
parent
f01f181aaa
commit
b061d61130
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue