Skip to content

Commit 2ef8500

Browse files
committed
test tapeagent creation
1 parent ec8be75 commit 2ef8500

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/agents/test_gaia_agent.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
from agentlab.agents.tapeagent import TapeAgent, TapeAgentArgs
2+
3+
4+
def test_agent_creation():
5+
args = TapeAgentArgs(agent_name="gaia_agent")
6+
agent = args.make_agent()
7+
assert isinstance(agent, TapeAgent)
8+
assert agent.agent.name == "gaia_agent"

0 commit comments

Comments
 (0)