forked from phoenix-oss/llama-stack-mirror
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 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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue