fix(openai-proxy-main.py): enable set_verbose empty string

This commit is contained in:
Krrish Dholakia 2023-10-23 19:57:19 -07:00
parent 91f691cd8b
commit a660d88717

View file

@ -4,7 +4,7 @@ dotenv.load_dotenv() # load env variables
def set_callbacks():
## LOGGING
if len(os.getenv("SET_VERBOSE")) > 0:
if len(os.getenv("SET_VERBOSE", "")) > 0:
if os.getenv("SET_VERBOSE") == "True":
litellm.set_verbose = True
else: