MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / _runner

Function _runner

tests/workflow/test_runner_integration.py:49–60  ·  view source on GitHub ↗
(provider, tmp_path, max_turns=4)

Source from the content-addressed store, hash-verified

47
48
49def _runner(provider, tmp_path, max_turns=4):
50 registry = build_default_registry(provider=provider)
51 ctx = ToolContext(workspace_root=tmp_path)
52 return LiveAgentRunner(
53 provider=provider,
54 tool_registry=registry,
55 parent_context=ctx,
56 base_tools=list(registry.list_tools()),
57 resolve_agent=lambda _t: GENERAL_PURPOSE_AGENT,
58 run_id="wf_itest",
59 max_turns=max_turns,
60 )
61
62
63async def test_text_agent_returns_final_text(tmp_path):

Calls 4

build_default_registryFunction · 0.90
ToolContextClass · 0.90
LiveAgentRunnerClass · 0.90
list_toolsMethod · 0.45

Tested by

no test coverage detected