mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-15 06:00:48 +00:00
cleanup
This commit is contained in:
parent
5c9fcf0f2b
commit
ccf12b318b
1 changed files with 2 additions and 2 deletions
|
@ -177,7 +177,7 @@ def test_unsafe_input_with_code_scanner_run_moderation(client_with_models, code_
|
||||||
print("Insecure hashed password:", hashed_password)
|
print("Insecure hashed password:", hashed_password)
|
||||||
```
|
```
|
||||||
"""
|
"""
|
||||||
] * 2
|
]
|
||||||
moderation_object = client_with_models.moderations.create(
|
moderation_object = client_with_models.moderations.create(
|
||||||
input=insecure_code,
|
input=insecure_code,
|
||||||
model=code_scanner_shield_id,
|
model=code_scanner_shield_id,
|
||||||
|
@ -206,7 +206,7 @@ def test_safe_input_with_code_scanner_run_moderation(client_with_models, code_sc
|
||||||
return text[:5] if text else ""
|
return text[:5] if text else ""
|
||||||
```
|
```
|
||||||
"""
|
"""
|
||||||
] * 2
|
]
|
||||||
moderation_object = client_with_models.moderations.create(
|
moderation_object = client_with_models.moderations.create(
|
||||||
input=secure_code,
|
input=secure_code,
|
||||||
model=code_scanner_shield_id,
|
model=code_scanner_shield_id,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue