litellm/tests/unit/enterprise/enterprise_callbacks
Kerry Lu 4b73a67362
fix(proxy): send soft budget alerts for tags and model access groups (#56063)
* fix(proxy): send soft budget alerts for tags and model access groups

* fix(proxy): recheck recorded spend for soft budgets and load group budgets once per request

* fix(proxy): send the soft budget alert even when the max budget refuses the request

* fix(proxy): alert every tag over its soft budget before a max budget refusal

* fix(proxy): keep the tag max budget read unchanged and skip email for tag and group soft alerts
2026-12-03 21:37:32 +00:00
..
send_emails fix(proxy): send soft budget alerts for tags and model access groups (#56063) 2026-12-03 21:37:32 +00:00
__init__.py test: add __init__.py to migrated tests/unit packages 2026-09-20 11:53:49 +00:00
test_callback_controls.py fix(logging): stop dumping the request body at every layer under --detailed_debug (#48973) 2026-10-29 02:30:33 +00:00
test_llm_guard.py fix(guardrails): keep streamed chat chunks as JSON when Azure text moderation or LLM Guard passes them (#55695) 2026-12-02 15:10:49 -08:00
test_pagerduty_alerting.py fix(completion)!: answer 400 for a chat message without a role (#51124) 2026-11-11 20:59:19 +00:00
test_prometheus_logging_callbacks.py fix(prometheus): emit every declared label on litellm_deployment_cooled_down (#54488) 2026-11-25 11:39:52 -08:00
test_secret_detection.py fix(decisions): accept OpenAI input_json content parts on /v1/decisions (#52805) 2026-11-20 13:33:36 -08:00