diff --git a/ui/litellm-dashboard/src/components/guardrails/add_guardrail_form.tsx b/ui/litellm-dashboard/src/components/guardrails/add_guardrail_form.tsx index 5d78249e2fa..c91a6e85cdd 100644 --- a/ui/litellm-dashboard/src/components/guardrails/add_guardrail_form.tsx +++ b/ui/litellm-dashboard/src/components/guardrails/add_guardrail_form.tsx @@ -804,11 +804,6 @@ const AddGuardrailForm: React.FC = ({ visible, onClose, a - {/* LLM-as-a-Judge: dedicated criteria builder */} - {shouldRenderLLMJudgeFields(selectedProvider) && ( - - )} - {/* Use the GuardrailProviderFields component to render provider-specific fields */} {!isToolPermissionProvider && !shouldRenderContentFilterConfigSettings(selectedProvider) && !shouldRenderLLMJudgeFields(selectedProvider) && ( = ({ visible, onClose, a if (shouldRenderContentFilterConfigSettings(selectedProvider)) { return renderContentFilterConfiguration("categories"); } + if (shouldRenderLLMJudgeFields(selectedProvider)) { + return ; + } return renderOptionalParams(); case 2: if (shouldRenderContentFilterConfigSettings(selectedProvider)) { diff --git a/ui/litellm-dashboard/src/components/guardrails/guardrail_info_helpers.tsx b/ui/litellm-dashboard/src/components/guardrails/guardrail_info_helpers.tsx index 54f26e0be65..5a1e93021a6 100644 --- a/ui/litellm-dashboard/src/components/guardrails/guardrail_info_helpers.tsx +++ b/ui/litellm-dashboard/src/components/guardrails/guardrail_info_helpers.tsx @@ -16,7 +16,7 @@ export const populateGuardrailProviders = (providerParamsResponse: Record { @@ -134,6 +134,7 @@ export const guardrailLogoMap: Record = { "Prompt Security": `${asset_logos_folder}prompt_security.png`, PromptGuard: `${asset_logos_folder}promptguard.svg`, "LiteLLM Content Filter": `${asset_logos_folder}litellm_logo.jpg`, + "LiteLLM LLM as a Judge": `${asset_logos_folder}litellm_logo.jpg`, "Akto": `${asset_logos_folder}akto.svg`, };