forked from phoenix/litellm-mirror
fix(utils.py): add track cost callback to callback list for team id callbacks
This commit is contained in:
parent
92058cbcd4
commit
5f9ea8a94f
3 changed files with 15 additions and 18 deletions
|
@ -524,7 +524,6 @@ class PrismaClient:
|
|||
response = await self.db.litellm_verificationtoken.find_many(
|
||||
order={"spend": "desc"},
|
||||
)
|
||||
print_verbose(f"PrismaClient: response={response}")
|
||||
if response is not None:
|
||||
return response
|
||||
else:
|
||||
|
@ -1202,8 +1201,6 @@ async def reset_budget(prisma_client: PrismaClient):
|
|||
table_name="user", query_type="find_all", reset_at=now
|
||||
)
|
||||
|
||||
verbose_proxy_logger.debug(f"users_to_reset from get_data: {users_to_reset}")
|
||||
|
||||
if users_to_reset is not None and len(users_to_reset) > 0:
|
||||
for user in users_to_reset:
|
||||
user.spend = 0.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue