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]

Uncomment response_model in user_info endpoint

Richard Song546c7e19e61a
diff --git a/litellm/proxy/management_endpoints/internal_user_endpoints.py b/litellm/proxy/management_endpoints/internal_user_endpoints.py
index 7d047ca2c29..2f98926c29e 100644
--- a/litellm/proxy/management_endpoints/internal_user_endpoints.py
+++ b/litellm/proxy/management_endpoints/internal_user_endpoints.py
@@ -518,7 +518,7 @@ def get_user_id_from_request(request: Request) -> Optional[str]:
"/user/info",
tags=["Internal User management"],
dependencies=[Depends(user_api_key_auth)],
- # response_model=UserInfoResponse,
+ response_model=UserInfoResponse,
)
@management_endpoint_wrapper
async def user_info(