mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 02:53:30 +00:00
fix shields in agents safety
This commit is contained in:
parent
c9005e95ed
commit
f92ff86b96
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class ShieldRunnerMixin:
|
|||
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:
|
||||
continue
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue