forked from phoenix/litellm-mirror
(fix) proxy + dynamo - add some debugging
This commit is contained in:
parent
61a1211bba
commit
1f62637197
2 changed files with 13 additions and 1 deletions
|
@ -1281,7 +1281,9 @@ async def startup_event():
|
|||
if prisma_client is not None:
|
||||
await prisma_client.connect()
|
||||
|
||||
verbose_proxy_logger.debug(f"custom_db_client client - {custom_db_client}")
|
||||
if custom_db_client is not None:
|
||||
verbose_proxy_logger.debug(f"custom_db_client connecting - {custom_db_client}")
|
||||
await custom_db_client.connect()
|
||||
|
||||
if prisma_client is not None and master_key is not None:
|
||||
|
@ -1289,7 +1291,9 @@ async def startup_event():
|
|||
await generate_key_helper_fn(
|
||||
duration=None, models=[], aliases={}, config={}, spend=0, token=master_key
|
||||
)
|
||||
|
||||
verbose_proxy_logger.debug(
|
||||
f"custom_db_client client - Inserting master key {custom_db_client}. Master_key: {master_key}"
|
||||
)
|
||||
if custom_db_client is not None and master_key is not None:
|
||||
# add master key to db
|
||||
await generate_key_helper_fn(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue