mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
feat(auth_checks.py): Allow admin to disable team from turning on/off guardrails.
This commit is contained in:
parent
fee4f3385d
commit
8b3c8102a7
7 changed files with 96 additions and 1 deletions
|
@ -924,6 +924,7 @@ async def user_api_key_auth(
|
|||
rpm_limit=valid_token.team_rpm_limit,
|
||||
blocked=valid_token.team_blocked,
|
||||
models=valid_token.team_models,
|
||||
metadata=valid_token.team_metadata,
|
||||
)
|
||||
|
||||
user_api_key_cache.set_cache(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue