mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
proxy test all-tea-models
This commit is contained in:
parent
d7601a4844
commit
1aeccf3f0a
1 changed files with 3 additions and 2 deletions
|
@ -639,9 +639,10 @@ async def user_api_key_auth(
|
||||||
pass
|
pass
|
||||||
elif (
|
elif (
|
||||||
isinstance(valid_token.models, list)
|
isinstance(valid_token.models, list)
|
||||||
and "all-proxy-models" in valid_token.models
|
and "all-team-models" in valid_token.models
|
||||||
):
|
):
|
||||||
# Admin UI - Special alias to allow `all_models`
|
# Do not do any validation at this step
|
||||||
|
# the validation will occur when checking the team has access to this model
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue