mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-08 22:21:35 +00:00
Update litellm/proxy/auth/user_api_key_auth.py
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
06655d0273
commit
d825f9b950
1 changed files with 1 additions and 1 deletions
|
|
@ -903,7 +903,7 @@ async def _user_api_key_auth_builder( # noqa: PLR0915
|
|||
assert api_key.startswith(
|
||||
"sk-"
|
||||
), "LiteLLM Virtual Key expected. Received={}, expected to start with 'sk-'.".format(
|
||||
f"{api_key[:3]}...{api_key[-4:]}" if len(api_key) > 7 else api_key
|
||||
f"{api_key[:3]}...{api_key[-4:]}" if len(api_key) > 7 else "***"
|
||||
) # prevent token hashes from being used
|
||||
else:
|
||||
verbose_logger.warning(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue