fix(utils.py): fix streaming cost tracking

This commit is contained in:
Krrish Dholakia 2024-01-23 14:39:35 -08:00
parent 7eb96e46a4
commit afada01ffc
4 changed files with 39 additions and 13 deletions

View file

@ -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
"""