mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
(feat) spendLogs table DynamoDB
This commit is contained in:
parent
4eb9221121
commit
5b54bcc712
2 changed files with 23 additions and 1 deletions
|
@ -658,6 +658,9 @@ async def update_database(
|
|||
if prisma_client is not None:
|
||||
await prisma_client.insert_data(data=payload, table_name="spend")
|
||||
|
||||
elif custom_db_client is not None:
|
||||
await custom_db_client.insert_data(payload, table_name="spend")
|
||||
|
||||
tasks = []
|
||||
tasks.append(_update_user_db())
|
||||
tasks.append(_update_key_db())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue