mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-16 23:41:43 +00:00
Replace the per-member loop (which re-ran budget upserts and rewrote the full members_with_roles JSON once per member) with set-based writes: one litellm_budgettable.update_many for every member that already owns a private budget, cloned budget creates only for members on the shared team default or with no budget row, and a single team row update for role changes, all grouped in one prisma batch transaction. team_id moves to the path and out of the request body. The patch building and budget_reset_at handling are shared with /team/member_update via _build_member_budget_patch and the extracted _budget_patch_to_write_data |
||
|---|---|---|
| .. | ||
| litellm-dashboard | ||
| Dockerfile | ||
| nginx.conf | ||