From f5a921c921c7b086e50f66d18edbc68647884f27 Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Fri, 23 Jan 2026 12:31:45 -0800 Subject: [PATCH] ui build issues --- .../src/components/playground/chat_ui/ChatUI.tsx | 1 + .../src/components/policies/add_attachment_form.tsx | 1 + .../src/components/policies/add_policy_form.tsx | 2 ++ 3 files changed, 4 insertions(+) diff --git a/ui/litellm-dashboard/src/components/playground/chat_ui/ChatUI.tsx b/ui/litellm-dashboard/src/components/playground/chat_ui/ChatUI.tsx index b02ccbc8648..ff93194c3f1 100644 --- a/ui/litellm-dashboard/src/components/playground/chat_ui/ChatUI.tsx +++ b/ui/litellm-dashboard/src/components/playground/chat_ui/ChatUI.tsx @@ -351,6 +351,7 @@ const ChatUI: React.FC = ({ selectedTags, selectedVectorStores, selectedGuardrails, + selectedPolicies, messageTraceId, responsesSessionId, useApiSessionManagement, diff --git a/ui/litellm-dashboard/src/components/policies/add_attachment_form.tsx b/ui/litellm-dashboard/src/components/policies/add_attachment_form.tsx index b2b5a2387bd..e00f20fa163 100644 --- a/ui/litellm-dashboard/src/components/policies/add_attachment_form.tsx +++ b/ui/litellm-dashboard/src/components/policies/add_attachment_form.tsx @@ -34,6 +34,7 @@ const AddAttachmentForm: React.FC = ({ if (visible && accessToken) { loadTeamsAndKeys(); } + // eslint-disable-next-line react-hooks/exhaustive-deps }, [visible, accessToken]); const loadTeamsAndKeys = async () => { diff --git a/ui/litellm-dashboard/src/components/policies/add_policy_form.tsx b/ui/litellm-dashboard/src/components/policies/add_policy_form.tsx index 8b9cfacc5d8..945c29931f1 100644 --- a/ui/litellm-dashboard/src/components/policies/add_policy_form.tsx +++ b/ui/litellm-dashboard/src/components/policies/add_policy_form.tsx @@ -61,12 +61,14 @@ const AddPolicyForm: React.FC = ({ setResolvedGuardrails([]); setModelConditionType("model"); } + // eslint-disable-next-line react-hooks/exhaustive-deps }, [visible, editingPolicy, form]); useEffect(() => { if (visible && accessToken) { loadAvailableModels(); } + // eslint-disable-next-line react-hooks/exhaustive-deps }, [visible, accessToken]); const loadAvailableModels = async () => {