mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-17 23:51:30 +00:00
fix: fix soft budget crossed alert
This commit is contained in:
parent
f8036a25a2
commit
a1b339efb5
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ class SoftBudgetAlert(BaseBudgetAlertType):
|
|||
return "Soft Budget Crossed: "
|
||||
|
||||
def get_id(self, user_info: CallInfo) -> str:
|
||||
return "default_id"
|
||||
return user_info.token or "default_id"
|
||||
|
||||
|
||||
class UserBudgetAlert(BaseBudgetAlertType):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue