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]

Update litellm/constants.py

Shivam Rawatd276d273c62a
diff --git a/litellm/constants.py b/litellm/constants.py
index 41dce4c587a..60f7dcdb729 100644
--- a/litellm/constants.py
+++ b/litellm/constants.py
@@ -1316,7 +1316,7 @@ CLI_JWT_EXPIRATION_HOURS = int(
########################### UI SESSION DURATION ###########################
# Duration for UI login session (username/password, SSO). Format: "30s", "30m", "24h", "7d"
-# Applies to both default and EXPERIMENTAL_UI_LOGIN flows
+# Applies to default login flows (not EXPERIMENTAL_UI_LOGIN which uses its own 10-minute expiry)
LITELLM_UI_SESSION_DURATION = os.getenv("LITELLM_UI_SESSION_DURATION", "24h")
########################### DB CRON JOB NAMES ###########################