add test to ci

This commit is contained in:
Mery-Sanz 2025-04-22 16:58:07 +02:00
parent e8bb5ab241
commit bb3985cb10
2 changed files with 10 additions and 4 deletions

View File

@ -110,6 +110,12 @@
variables:
TEST_PATH: tests/agents/test_max_turns.py
🤖 agents test_agent_inference:
<<: *run_test
variables:
TEST_PATH: tests/agents/test_agent_inference.py
# ⚙️ core test_openai_chatcompletions:
# <<: *run_test
# variables:

View File

@ -37,10 +37,10 @@ def thought_agent_handoff(ctf=None): # pylint: disable=unused-argument
return thought_agent
# Register handoff tools to enable inter-agent communication pathways
redteam_agent.tools.append(transfer_to_dns_agent)
dns_smtp_agent.tools.append(redteam_agent_handoff)
thought_agent.tools.append(redteam_agent_handoff)
# Register handoff functions to enable inter-agent communication pathways
redteam_agent.functions.append(transfer_to_dns_agent)
dns_smtp_agent.functions.append(redteam_agent_handoff)
thought_agent.functions.append(redteam_agent_handoff)
# Initialize the swarm pattern with the thought agent as the entry point
redteam_swarm_pattern = thought_agent