mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
chore(proxy): drop redundant docstring note in get_direct_access_models
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
6f24d85490
commit
bd2b93c688
1 changed files with 0 additions and 2 deletions
|
|
@ -12382,8 +12382,6 @@ def get_direct_access_models(
|
|||
|
||||
The 'all-proxy-models' sentinel grants direct access to every non-team
|
||||
deployment, mirroring how get_key_models expands it for the key/team path.
|
||||
An empty models list means unrestricted access at call time (see
|
||||
can_user_call_model), so it resolves the same way.
|
||||
"""
|
||||
if not user_db_object.models or SpecialModelNames.all_proxy_models.value in user_db_object.models:
|
||||
return llm_router.get_model_ids(exclude_team_models=True)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue