litellm/tests/test_litellm/enterprise/enterprise_callbacks/send_emails
Ryan Crabbe 779a9fab8e
feat: add configurable multi-threshold budget alerts for virtual keys
Users can set metadata.max_budget_alert_emails as a JSON map of threshold
percentages to email recipients on virtual keys. When configured, the email
handler loops over each threshold, checks per-threshold dedup cache, and
sends to the configured recipients (auto-including the key owner's email).

When no map is set, the existing single 80% threshold behavior is preserved
unchanged. Teams support is out of scope for this v0.
2026-04-17 17:12:35 -07:00
..
test_base_email.py feat: add configurable multi-threshold budget alerts for virtual keys 2026-04-17 17:12:35 -07:00
test_endpoints.py Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_resend_email.py litellm_fix_mapped_tests_core: fix test isolation and mock injection issues (#20209) 2026-01-31 17:53:54 -08:00
test_sendgrid_email.py fix(tests): Fix sendgrid email tests to properly mock httpx client (#20628) 2026-02-07 09:19:02 -08:00