forked from phoenix-oss/llama-stack-mirror
minor enhancement for test fixtures
This commit is contained in:
parent
fcc2132e6f
commit
ea52a3ee1c
2 changed files with 4 additions and 1 deletions
|
@ -47,6 +47,9 @@ def safety_shield(request):
|
|||
else:
|
||||
params = {}
|
||||
|
||||
if not shield_id:
|
||||
return None
|
||||
|
||||
return ShieldInput(
|
||||
shield_id=shield_id,
|
||||
params=params,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue