From 7ebcee7581debf198f3e04d82005e06983f59b79 Mon Sep 17 00:00:00 2001 From: clyang Date: Sat, 18 Apr 2026 23:13:47 +0800 Subject: [PATCH] Remove leftover commented-out code per greptile review feedback --- litellm/proxy/guardrails/guardrail_hooks/xecguard/xecguard.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/litellm/proxy/guardrails/guardrail_hooks/xecguard/xecguard.py b/litellm/proxy/guardrails/guardrail_hooks/xecguard/xecguard.py index 934637f6b9e..7b59b3ad120 100644 --- a/litellm/proxy/guardrails/guardrail_hooks/xecguard/xecguard.py +++ b/litellm/proxy/guardrails/guardrail_hooks/xecguard/xecguard.py @@ -308,9 +308,6 @@ class XecGuardGuardrail(CustomGuardrail): "model": self.xecguard_model, "scan_type": scan_type, "messages": messages, - # XecGuard rejects requests without policy_names; "*" asks the - # server to apply every policy bound to this Service Token. - # "policy_names": self.policy_names if self.policy_names else ["*"], "policy_names": ( self.policy_names if self.policy_names else _DEFAULT_POLICIES ),