mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-05 01:59:27 +00:00
* fix(alerts): route budget refusals through shared policies * style(rust): format budget refusal error * test(proxy): use real budget alert payloads * test(alerts): consolidate refusal routing regressions * fix(alerts): email the owner once when a configured 100% alert fires A refused key or team member with a 100% entry in max_budget_alert_emails got the generic budget-crossed email and the dedicated 100% email. The dedicated producer already includes the owner, so the generic email now stands down when that producer exists and owns the 100% threshold. Chat and webhook delivery are unchanged. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * fix(alerts): keep malformed alert config out of key admission and email each project user A key whose max_budget_alert_emails metadata is not a threshold map made the percentage notifier raise AttributeError inside the key budget check. The key producer now validates its config with the same helper the team and team-member producers use. The project soft-budget email marker was keyed by project only, so the first calling user's email suppressed every other user's. It is now keyed by project and recipient. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| enterprise_callbacks | ||
| integrations | ||
| proxy | ||
| __init__.py | ||
| conftest.py | ||