mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-28 00:00:38 +00:00
* feat(proxy): email alerts at configured percentages of a team member budget
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* fix(alerting): label team member budget crossings as team member budget
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* test(auth): cover the team member alert dispatch from _check_team_member_budget
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* fix(email): drop the emoji from the team member budget alert template
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* fix(proxy): ignore team member alert thresholds outside 1 to 100 on both the backend and the dashboard
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* fix(proxy): bound team member alert threshold key length before int parsing
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* test(integration): drop the legacy covers marker from the team member alert test
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* fix(team): reject malformed team_member_max_budget_alert_emails on team writes
Thresholds outside 1-100, non-list recipients, and invalid emails now return 422 on
/team/new, /team/update and PATCH /team/{id} instead of being stored and silently
ignored. The value is stored canonically. Read-side LiteLLM_TeamTable is unchanged,
and the PATCH body stays a raw merge patch so a null threshold still deletes it.
* fix(auth): enforce and alert on team member budgets only in common_checks
The builder re-checked the team member budget inline before common_checks ran the same
check, so one request that crossed a team_member_max_budget_alert_emails threshold
dispatched two alerts. Drop the inline check; common_checks is the single authorization
point and already covers per-member rows, the team default member budget, zero-cost
skips and the cross-pod spend counter. Its 422 message now uses the TeamMember=user:team
form the builder and budget reservation already returned.
* Revert "fix(team): reject malformed team_member_max_budget_alert_emails on team writes"
This reverts commit
|
||
|---|---|---|
| .. | ||
| AvailableTeamsPanel.test.tsx | ||
| AvailableTeamsPanel.tsx | ||
| AvailableTeamsTable.tsx | ||
| AvailableTeamsTableColumns.tsx | ||
| EditLoggingSettings.tsx | ||
| EditMembership.integration.test.tsx | ||
| EditMembership.test.tsx | ||
| EditMembership.tsx | ||
| GuardrailsSelect.tsx | ||
| LoggingSettings.test.tsx | ||
| LoggingSettings.tsx | ||
| member_permissions.test.tsx | ||
| member_permissions.tsx | ||
| memberBudgetReset.test.ts | ||
| memberBudgetReset.ts | ||
| memberFormValues.test.ts | ||
| memberFormValues.ts | ||
| MyUserTab.test.tsx | ||
| MyUserTab.tsx | ||
| permission_definitions.test.tsx | ||
| permission_definitions.tsx | ||
| ResetMemberBudgetsDialog.test.tsx | ||
| ResetMemberBudgetsDialog.tsx | ||
| tabVisibilityUtils.test.ts | ||
| tabVisibilityUtils.ts | ||
| teamAdminEditAccess.test.ts | ||
| teamAdminEditAccess.ts | ||
| TeamAdminSettingsForm.test.tsx | ||
| TeamAdminSettingsForm.tsx | ||
| TeamInfo.integration.test.tsx | ||
| TeamInfo.test.tsx | ||
| TeamInfo.tsx | ||
| teamMemberBudgetAlertEmails.test.ts | ||
| teamMemberBudgetAlertEmails.ts | ||
| TeamMemberTab.test.tsx | ||
| TeamMemberTab.tsx | ||
| teamModelAccess.test.ts | ||
| teamModelAccess.ts | ||
| TeamVirtualKeysTable.test.tsx | ||
| TeamVirtualKeysTable.tsx | ||
| useMemberBudgetReset.test.tsx | ||
| useMemberBudgetReset.ts | ||
| useMyTeamMember.ts | ||