feat(auth_checks.py): Allow admin to disable team from turning on/off guardrails.

This commit is contained in:
Krrish Dholakia 2024-07-20 18:39:05 -07:00
parent 2ff30fdace
commit a351b7cc3e
7 changed files with 96 additions and 1 deletions

View file

@ -363,6 +363,7 @@ async def update_team(
# set the budget_reset_at in DB
updated_kv["budget_reset_at"] = reset_at
updated_kv = prisma_client.jsonify_object(data=updated_kv)
team_row: Optional[
LiteLLM_TeamTable
] = await prisma_client.db.litellm_teamtable.update(