From 3874ff139dfa2b0469c6841a5e19372fdb94fefc Mon Sep 17 00:00:00 2001 From: simpleqt <89645338+simpleqt@users.noreply.github.com> Date: Tue, 8 Sep 2026 01:30:19 +0800 Subject: [PATCH] docs(proxy): drop docstring entries for parameters that don't exist MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - get_users: sso_ids → sso_user_ids (the actual query param) - validate_chat_completion_user_messages: message_content_type isn't a parameter - delete_verification_tokens: user_id isn't a parameter --- litellm/proxy/management_endpoints/internal_user_endpoints.py | 4 ++-- .../proxy/management_endpoints/key_management_endpoints.py | 1 - litellm/utils.py | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/litellm/proxy/management_endpoints/internal_user_endpoints.py b/litellm/proxy/management_endpoints/internal_user_endpoints.py index d066f1e9138..30d86fcb469 100644 --- a/litellm/proxy/management_endpoints/internal_user_endpoints.py +++ b/litellm/proxy/management_endpoints/internal_user_endpoints.py @@ -2139,8 +2139,8 @@ async def get_users( - internal_user_viewer user_ids: Optional[str] Get list of users by user_ids. Comma separated list of user_ids. - sso_ids: Optional[str] - Get list of users by sso_ids. Comma separated list of sso_ids. + sso_user_ids: Optional[str] + Get list of users by sso_user_ids. Comma separated list of sso_user_ids. user_email: Optional[str] Filter users by partial email match search: Optional[str] diff --git a/litellm/proxy/management_endpoints/key_management_endpoints.py b/litellm/proxy/management_endpoints/key_management_endpoints.py index d7d20d168b5..02930a76586 100644 --- a/litellm/proxy/management_endpoints/key_management_endpoints.py +++ b/litellm/proxy/management_endpoints/key_management_endpoints.py @@ -4371,7 +4371,6 @@ async def delete_verification_tokens( Args: tokens: List of tokens to delete - user_id: Optional user_id to filter by Returns: Tuple[Optional[Dict], List[LiteLLM_VerificationToken]]: diff --git a/litellm/utils.py b/litellm/utils.py index 239673a20d9..1cec4fb92d6 100644 --- a/litellm/utils.py +++ b/litellm/utils.py @@ -7861,7 +7861,6 @@ def validate_chat_completion_user_messages(messages: list[AllMessageValues]): Args: messages: List of message dictionaries - message_content_type: Type to validate content against Returns: List[dict]: The validated messages