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. |
||
|---|---|---|
| .. | ||
| helpers | ||
| prisma_and_spend | ||
| proxy_logging | ||
| __init__.py | ||