mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-27 21:31:59 +00:00
This code was unnecessarily verbose when calculating has_input_shield and has_output_shield values, and was simplified to take advantage of Python's intrinsic treatment of empty lists and None values as false. Signed-off-by: Ben Browning <bbrownin@redhat.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_agents.py | ||
| test_persistence.py | ||