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
feat(ui): turn the Chat UI on by default (#46918)
Krrish Dholakiae4dc696af85d
diff --git a/litellm/proxy/ui_crud_endpoints/proxy_setting_endpoints.py b/litellm/proxy/ui_crud_endpoints/proxy_setting_endpoints.pyindex b327129793d..4ece88f757d 100644--- a/litellm/proxy/ui_crud_endpoints/proxy_setting_endpoints.py+++ b/litellm/proxy/ui_crud_endpoints/proxy_setting_endpoints.py@@ -343,7 +343,7 @@ class UISettings(LiteLLMBaseModel):)enable_chat_ui: bool = Field(- default=False,+ default=True,description="If true, shows the Chat page in the UI sidebar, letting users chat with an LLM and connect their own MCP server credentials via OAuth.",)diff --git a/tests/unit/proxy/ui_crud_endpoints/test_proxy_setting_endpoints.py b/tests/unit/proxy/ui_crud_endpoints/test_proxy_setting_endpoints.pyindex 6705e5ac8a5..da799a307a6 100644--- a/tests/unit/proxy/ui_crud_endpoints/test_proxy_setting_endpoints.py+++ b/tests/unit/proxy/ui_crud_endpoints/test_proxy_setting_endpoints.py@@ -3771,6 +3771,24 @@ class TestPtuCostAttributionUISetting:assert not mock_prisma.db.litellm_uisettings.upsert.called+class TestEnableChatUISetting:+ def test_chat_ui_is_on_when_nothing_is_stored(self, mock_auth, monkeypatch):+ TestPtuCostAttributionUISetting._mock_prisma(monkeypatch)++ response = client.get("/get/ui_settings")++ assert response.status_code == 200+ assert response.json()["values"]["enable_chat_ui"] is True++ def test_admin_can_still_turn_chat_ui_off(self, mock_auth, monkeypatch):+ TestPtuCostAttributionUISetting._mock_prisma(monkeypatch, stored={"enable_chat_ui": False})++ response = client.get("/get/ui_settings")++ assert response.status_code == 200+ assert response.json()["values"]["enable_chat_ui"] is False++class TestApplyUserBudgetToTeamKeysUISetting:"""``apply_user_budget_to_team_keys`` mirrors general_settings on every GET.