mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
feat(auth_checks.py): Allow admin to disable team from turning on/off guardrails.
This commit is contained in:
parent
2ff30fdace
commit
a351b7cc3e
7 changed files with 96 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue