From a1b339efb54bbd539afd86f5e5499cb875573280 Mon Sep 17 00:00:00 2001 From: "rasmus.arpe@gmail.com" Date: Fri, 12 Sep 2025 11:25:06 +0200 Subject: [PATCH] fix: fix soft budget crossed alert --- litellm/integrations/SlackAlerting/budget_alert_types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/integrations/SlackAlerting/budget_alert_types.py b/litellm/integrations/SlackAlerting/budget_alert_types.py index beebee8b6bf..1e9ad286e37 100644 --- a/litellm/integrations/SlackAlerting/budget_alert_types.py +++ b/litellm/integrations/SlackAlerting/budget_alert_types.py @@ -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):