Merge pull request #23433 from BerriAI/litellm_fix_auth_error_message_typos

[Fix] Auth Error Message Typos
This commit is contained in:
yuneng-jiang 2026-03-11 23:31:33 -07:00 committed by GitHub
commit 2495579210
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -388,7 +388,7 @@ async def common_checks( # noqa: PLR0915
# 1. If team is blocked
if team_object is not None and team_object.blocked is True:
raise Exception(
f"Team={team_object.team_id} is blocked. Update via `/team/unblock` if your admin."
f"Team={team_object.team_id} is blocked. Update via `/team/unblock` if you're an admin."
)
# 2. If team can call model

View file

@ -1145,7 +1145,7 @@ async def _user_api_key_auth_builder( # noqa: PLR0915
## base case ## key is disabled
if valid_token.blocked is True:
raise Exception(
"Key is blocked. Update via `/key/unblock` if you're admin."
"Key is blocked. Update via `/key/unblock` if you're an admin."
)
config = valid_token.config