Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

chore(proxy): drop redundant docstring note in get_direct_access_models

milanbd2b93c68896
diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.py
index 3d3169eeab9..f536f521d57 100644
--- a/litellm/proxy/proxy_server.py
+++ b/litellm/proxy/proxy_server.py
@@ -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)