mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
build(litellm_server/main.py): loading env variables in utils
This commit is contained in:
parent
c0f66368f2
commit
f01f181aaa
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
import os, litellm
|
import os, litellm
|
||||||
import pkg_resources
|
import pkg_resources
|
||||||
|
import dotenv
|
||||||
|
dotenv.load_dotenv() # load env variables
|
||||||
|
|
||||||
def print_verbose(print_statement):
|
def print_verbose(print_statement):
|
||||||
if os.environ["SET_VERBOSE"] == "True":
|
if os.environ["SET_VERBOSE"] == "True":
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue