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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
Add SSO settings response model in proxy_setting_endpoints.py
Cole McIntosh3cc94609226a
diff --git a/litellm/proxy/ui_crud_endpoints/proxy_setting_endpoints.py b/litellm/proxy/ui_crud_endpoints/proxy_setting_endpoints.pyindex 23e929d57a5..c68cf603b4f 100644--- a/litellm/proxy/ui_crud_endpoints/proxy_setting_endpoints.py+++ b/litellm/proxy/ui_crud_endpoints/proxy_setting_endpoints.py@@ -1,5 +1,5 @@#### CRUD ENDPOINTS for UI Settings #####-from typing import Any, List, Union+from typing import Any, Dict, List, Unionfrom fastapi import APIRouter, Depends, HTTPException@@ -16,6 +16,16 @@ class IPAddress(BaseModel):ip: str+class SSOSettingsResponse(BaseModel):+ """Response model for SSO settings with values and schema information"""++ values: Dict[str, Any]+ """The current SSO configuration values"""++ schema: Dict[str, Any]+ """Schema information including descriptions and property types for UI display"""++@router.get("/get/allowed_ips",tags=["Budget & Spend Tracking"],@@ -287,6 +297,7 @@ async def update_default_team_settings(settings: DefaultTeamSSOParams):"/get/sso_settings",tags=["SSO Settings"],dependencies=[Depends(user_api_key_auth)],+ response_model=SSOSettingsResponse,)async def get_sso_settings():"""