mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-04 02:31:27 +00:00
test_can_team_access_model fix
This commit is contained in:
parent
9dcc25d63b
commit
0d6df360bf
1 changed files with 1 additions and 1 deletions
|
|
@ -1029,7 +1029,7 @@ async def _can_object_call_model(
|
|||
if (len(filtered_models) == 0 and len(models) == 0) or "*" in filtered_models:
|
||||
all_model_access = True
|
||||
|
||||
if SpecialModelNames.all_proxy_models in filtered_models:
|
||||
if SpecialModelNames.all_proxy_models.value in filtered_models:
|
||||
all_model_access = True
|
||||
|
||||
if model is not None and model not in filtered_models and all_model_access is False:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue