mirror of https://github.com/aliasrobotics/cai.git
add test to ci
This commit is contained in:
parent
e8bb5ab241
commit
bb3985cb10
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue