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:
Krish Dholakia 2024-07-22 22:32:24 -07:00 committed by GitHub
commit c4db6aa15e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 95 additions and 1 deletions

View file

@ -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(