mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-05 12:21:52 +00:00
Update the meta reference safety implementation to match new API
This commit is contained in:
parent
7e40eead4e
commit
82ddd851c8
11 changed files with 115 additions and 130 deletions
|
@ -223,7 +223,7 @@ async def test_chat_agent_create_and_execute_turn(chat_agent):
|
|||
@pytest.mark.asyncio
|
||||
async def test_run_shields_wrapper(chat_agent):
|
||||
messages = [UserMessage(content="Test message")]
|
||||
shields = [ShieldDefinition(shield_type="test_shield")]
|
||||
shields = ["test_shield"]
|
||||
|
||||
responses = [
|
||||
chunk
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue