mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
(temp) debug env variables for prisma setup
This commit is contained in:
parent
8a5a8c2291
commit
465d6f1b70
1 changed files with 1 additions and 0 deletions
|
@ -1164,6 +1164,7 @@ async def startup_event():
|
|||
master_key = litellm.get_secret("LITELLM_MASTER_KEY", None)
|
||||
|
||||
### CONNECT TO DB ###
|
||||
verbose_proxy_logger.info(f"env vatiables {os.environ}")
|
||||
# check if DATABASE_URL in environment - load from there
|
||||
if os.getenv("DATABASE_URL", None) is not None and prisma_client is None:
|
||||
prisma_setup(database_url=os.getenv("DATABASE_URL"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue