mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
#35271 restored the hierarchy where a team-scoped key is governed by the team and team-member budgets only; the owner's personal max_budget applies to their personal keys. Three places in the e2e suite still encoded the old direction and would fail against a proxy built from staging. test_user_budget_enforced_across_all_their_keys asserted that the owner's team-member key is refused once their personal budget is exhausted. It now asserts only the personal keys are refused, and keeps the team key as the control that must keep serving, which pins the restored direction instead of leaving it unasserted. Renamed to match what it now covers. test_team_member_key_user_budget_resets_after_window drove a team key to a block off the owner's personal budget, so nothing can block it any more and _drive_to_block could never succeed. Its premise is gone rather than moved, so it is removed; the sibling personal-key test still covers quota_management.budget.internal_user.resets_after_window. The registry rationale for that row dropped its "and team-member keys" clause for the same reason. |
||
|---|---|---|
| .. | ||
| budgets | ||
| ratelimit | ||
| spend_tracking | ||