mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
Merge pull request #4810 from BerriAI/litellm_team_modify_guardrails
feat(auth_checks.py): Allow admin to disable team from turning on/off guardrails
This commit is contained in:
commit
c4db6aa15e
6 changed files with 95 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