mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-05 01:59:27 +00:00
* fix(alerts): isolate budget delivery by destination * test(alerts): consolidate delivery regressions and declare cachetools for litellm-core * fix(alerts): keep team name, spend and budget in team threshold emails Team budget emails below 100% fell through to the placeholder body and a subject without the team alias. main renders the team body for every team budget event, so render_budget_email now does the same. * test(alerts): drop a duplicate dispatch variant and shorten the team email test The direct send_alert variant of the slow-destination test ran the same delivery code as the budget_alerts variant, so it goes. The team email test builds its event from a CallInfo. Test additions are now 579 lines against 583 production lines. * fix(alerts): keep log_to_console output for direct budget alerts Slack and Teams budget alerts now post directly, so they no longer pass through send_to_webhook, which printed the payload when log_to_console is set. The direct post logs the same chat text. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_budget_alert_types.py | ||
| test_budget_delivery.py | ||
| test_hanging_request_check.py | ||
| test_model_deprecation_alert.py | ||
| test_ms_teams.py | ||
| test_slack_alerting.py | ||
| test_slack_alerting_delivery.py | ||
| test_slack_alerting_digest.py | ||
| test_slack_alerting_utils.py | ||
| test_user_spend_alerts.py | ||