kikocis/llama-stack public
Changesets · Branches · Tags · Compare
| Changeset | 623d521dae35380d24bf8d3cb7d81918fb9d28b0d49be670fbf6c3518ce43af6 |
|---|---|
| Author | Xi Yan <xiyan@meta.com> · 2024-09-23 21:22 -07:00 |
| Committer | Xi Yan <xiyan@meta.com> · 2024-09-23 21:22 -07:00 |
| Parents | 9fefaaef1108 |
1 file changed
modified llama_stack/providers/impls/meta_reference/agents/safety.py +1 −1
| @@ -43,7 +43,7 @@ | ||
| 43 | 43 | for shield_type in shield_types |
| 44 | 44 | ] |
| 45 | 45 | ) |
| 46 | - for shield_type, response in zip(shields, responses): | |
| 46 | + for shield_type, response in zip(shield_types, responses): | |
| 47 | 47 | if not response.violation: |
| 48 | 48 | continue |
| 49 | 49 |