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 () => {