mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-20 19:56:59 +00:00
fix unit tests
This commit is contained in:
parent
f8f59c8335
commit
bfbaf09fa8
1 changed files with 3 additions and 3 deletions
|
@ -139,7 +139,7 @@ class TestNVIDIASafetyAdapter(unittest.TestCase):
|
|||
"model": shield_id,
|
||||
"messages": [
|
||||
{"role": "user", "content": "Hello, how are you?"},
|
||||
{"role": "assistant", "content": "I'm doing well, thank you for asking!", "tool_calls": None},
|
||||
{"role": "assistant", "content": "I'm doing well, thank you for asking!"},
|
||||
],
|
||||
"temperature": 1.0,
|
||||
"top_p": 1,
|
||||
|
@ -193,7 +193,7 @@ class TestNVIDIASafetyAdapter(unittest.TestCase):
|
|||
"model": shield_id,
|
||||
"messages": [
|
||||
{"role": "user", "content": "Hello, how are you?"},
|
||||
{"role": "assistant", "content": "I'm doing well, thank you for asking!", "tool_calls": None},
|
||||
{"role": "assistant", "content": "I'm doing well, thank you for asking!"},
|
||||
],
|
||||
"temperature": 1.0,
|
||||
"top_p": 1,
|
||||
|
@ -269,7 +269,7 @@ class TestNVIDIASafetyAdapter(unittest.TestCase):
|
|||
"model": shield_id,
|
||||
"messages": [
|
||||
{"role": "user", "content": "Hello, how are you?"},
|
||||
{"role": "assistant", "content": "I'm doing well, thank you for asking!", "tool_calls": None},
|
||||
{"role": "assistant", "content": "I'm doing well, thank you for asking!"},
|
||||
],
|
||||
"temperature": 1.0,
|
||||
"top_p": 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue