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

Function _make_running

tests/test_task_notification.py:181–187  ·  view source on GitHub ↗
(reg: RuntimeTaskRegistry)

Source from the content-addressed store, hash-verified

179
180
181def _make_running(reg: RuntimeTaskRegistry) -> LocalAgentTaskState:
182 agent_id = generate_task_id("local_agent")
183 register_async_agent(
184 agent_id=agent_id, description="example", prompt="x",
185 agent_type="general-purpose", registry=reg,
186 )
187 return reg.get(agent_id)
188
189
190def test_enqueue_marks_task_notified_and_pushes_one_envelope() -> None:

Calls 3

generate_task_idFunction · 0.90
register_async_agentFunction · 0.90
getMethod · 0.45

Tested by

no test coverage detected