mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
Revert "test_team_and_key_budget_enforcement"
This reverts commit 9d44f51847
.
This commit is contained in:
parent
9d44f51847
commit
2017596913
2 changed files with 1 additions and 109 deletions
|
@ -1037,7 +1037,7 @@ async def _team_max_budget_check(
|
|||
raise litellm.BudgetExceededError(
|
||||
current_cost=team_object.spend,
|
||||
max_budget=team_object.max_budget,
|
||||
message=f"Budget has been exceeded! Team={team_object.team_id} Current cost: {team_object.spend}, Max budget: {team_object.max_budget}",
|
||||
message=f"Team={team_object.team_id} over budget. Spend={team_object.spend}, Budget={team_object.max_budget}",
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue