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]

merge: main into litellm_lit5285_login_rate_limit_v2

yuchengbb52c80d7547
diff --cc litellm/proxy/proxy_server.py
index 37e7496610c,dd7a39eb94c..3786f4a4fd1
--- a/litellm/proxy/proxy_server.py
+++ b/litellm/proxy/proxy_server.py
@@@ -15823,10 -15827,9 +15836,7 @@@ async def fallback_login(request: Reque
else:
redirect_url += "/sso/callback"
- hide_default_credentials_hint: Final = (
- os.getenv("LITELLM_HIDE_DEFAULT_CREDENTIALS_HINT", "false").lower() == "true"
- or general_settings.get("hide_default_credentials_hint", False) is True
- )
- from fastapi.responses import HTMLResponse
-
+ hide_default_credentials_hint: Final = should_hide_default_credentials_hint(general_settings)
return HTMLResponse(
content=build_ui_login_form(
show_deprecation_banner=False,