MCPcopy Create free account
hub / github.com/MiniMax-AI/Mini-Agent / acp_agent

Function acp_agent

tests/test_acp.py:61–69  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

59
60@pytest.fixture
61def acp_agent(tmp_path):
62 config = Config(
63 llm=LLMConfig(api_key="test-key"),
64 agent=AgentConfig(max_steps=3, workspace_dir=str(tmp_path)),
65 tools=ToolsConfig(),
66 )
67 conn = DummyConn()
68 agent = MiniMaxACPAgent(conn, config, DummyLLM(), [EchoTool()], "system")
69 return agent, conn
70
71
72@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 8

ConfigClass · 0.90
LLMConfigClass · 0.90
AgentConfigClass · 0.90
ToolsConfigClass · 0.90
MiniMaxACPAgentClass · 0.90
DummyConnClass · 0.85
DummyLLMClass · 0.85
EchoToolClass · 0.85

Tested by

no test coverage detected