fix shields in agents safety

This commit is contained in:
Xi Yan 2024-09-23 21:22:22 -07:00
parent c9005e95ed
commit f92ff86b96

View file

@ -43,7 +43,7 @@ class ShieldRunnerMixin:
for shield_type in shield_types for shield_type in shield_types
] ]
) )
for shield_type, response in zip(shields, responses): for shield_type, response in zip(shield_types, responses):
if not response.violation: if not response.violation:
continue continue