diff --git a/ui/litellm-dashboard/src/components/guardrails/content_filter/ContentFilterManager.tsx b/ui/litellm-dashboard/src/components/guardrails/content_filter/ContentFilterManager.tsx index 1e106e2b1c4..597cbf7613f 100644 --- a/ui/litellm-dashboard/src/components/guardrails/content_filter/ContentFilterManager.tsx +++ b/ui/litellm-dashboard/src/components/guardrails/content_filter/ContentFilterManager.tsx @@ -1,10 +1,9 @@ -import { Alert, Divider, Typography } from "antd"; +import { AlertTriangle } from "lucide-react"; import React, { useEffect, useState } from "react"; import ContentFilterConfiguration from "./ContentFilterConfiguration"; import ContentFilterDisplay from "./ContentFilterDisplay"; import type { CompetitorIntentConfig } from "./CompetitorIntentConfiguration"; -const { Text } = Typography interface Pattern { id: string; @@ -233,19 +232,21 @@ const ContentFilterManager: React.FC = ({ // Edit mode return ( <> - Content Filter Configuration +
+ + Content Filter Configuration + +
+
{hasUnsavedChanges && ( - - You have unsaved changes to patterns or keywords. Remember to click "Save Changes" at the - bottom. - - } - /> + // eslint-disable-next-line litellm-ui/no-raw-tailwind-colors +
+ + + You have unsaved changes to patterns or keywords. Remember to + click "Save Changes" at the bottom. + +
)}
{guardrailSettings && guardrailSettings.content_filter_settings && (