MCPcopy Create free account
hub / github.com/VectifyAI/OpenKB / fake_runner_run

Function fake_runner_run

tests/test_skill_runner.py:103–106  ·  view source on GitHub ↗
(agent, seed, **kw)

Source from the content-addressed store, hash-verified

101 captured: dict = {}
102
103 async def fake_runner_run(agent, seed, **kw):
104 captured["instructions"] = agent.instructions
105 captured["tools"] = [getattr(t, "name", "?") for t in agent.tools]
106 return MagicMock()
107
108 with patch("openkb.agent.skill_runner.Runner.run", new=fake_runner_run):
109 result = await run_skill(

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected