mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
fix(utils.py): fix streaming cost tracking
This commit is contained in:
parent
7eb96e46a4
commit
afada01ffc
4 changed files with 39 additions and 13 deletions
|
@ -961,9 +961,9 @@ def _duration_in_seconds(duration: str):
|
|||
|
||||
async def reset_budget(prisma_client: PrismaClient):
|
||||
"""
|
||||
Gets all the non-expired keys for a db, which need budget to be reset
|
||||
Gets all the non-expired keys for a db, which need spend to be reset
|
||||
|
||||
Resets their budget
|
||||
Resets their spend
|
||||
|
||||
Updates db
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue