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
fix: fix runtime openid check
Krrish Dholakiae73b6315248a
diff --git a/litellm/proxy/management_endpoints/ui_sso.py b/litellm/proxy/management_endpoints/ui_sso.pyindex 88ce25a6fcc..1227a5017b2 100644--- a/litellm/proxy/management_endpoints/ui_sso.py+++ b/litellm/proxy/management_endpoints/ui_sso.py@@ -891,8 +891,10 @@ async def insert_sso_user(auto_create_key=False,)- if result_openid and isinstance(result_openid, OpenID):- new_user_request.metadata = {"auth_provider": result_openid.provider}+ if result_openid and hasattr(result_openid, "provider"):+ new_user_request.metadata = {+ "auth_provider": getattr(result_openid, "provider")+ }response = await new_user(data=new_user_request,