mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
fix(proxy_server.py): add comments
This commit is contained in:
parent
b9028324d1
commit
65db8b5539
1 changed files with 1 additions and 0 deletions
|
@ -302,6 +302,7 @@ async def user_api_key_auth(
|
|||
# Run checks for
|
||||
# 1. If token can call model
|
||||
# 2. If token is expired
|
||||
## NOTE: USER BUDGET CHECK IS IN max_budget_limiter.py and run as a pre-api-call hook on the cache
|
||||
|
||||
# Check 1. If token can call model
|
||||
litellm.model_alias_map = valid_token.aliases
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue