Remove leftover commented-out code per greptile review feedback

This commit is contained in:
clyang 2026-04-18 23:13:47 +08:00
parent 4196a58b6e
commit 7ebcee7581
No known key found for this signature in database
GPG key ID: D52FE178A5104AD1

View file

@ -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
),