mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-17 15:13:49 +00:00
yet another refactor to make this more general
now it accepts --inference-model, --safety-model options also
This commit is contained in:
parent
2ed0267fbb
commit
60800bc09b
13 changed files with 127 additions and 61 deletions
|
@ -75,12 +75,6 @@ async def create_agent_session(agents_impl, agent_config):
|
|||
return agent_id, session_id
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"inference_model", [pytest.param("Llama3.1-8B-Instruct", id="")], indirect=True
|
||||
)
|
||||
@pytest.mark.parametrize(
|
||||
"safety_model", [pytest.param("Llama-Guard-3-8B", id="")], indirect=True
|
||||
)
|
||||
class TestAgents:
|
||||
@pytest.mark.asyncio
|
||||
async def test_agent_turns_with_safety(self, agents_stack, common_params):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue