yet another refactor to make this more general

now it accepts --inference-model, --safety-model options also
This commit is contained in:
Ashwin Bharambe 2024-11-04 14:16:35 -08:00 committed by Ashwin Bharambe
parent 2ed0267fbb
commit 60800bc09b
13 changed files with 127 additions and 61 deletions

View file

@ -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):