MCPcopy Create free account
hub / github.com/Louisym/MiniCC / complete_agent

Method complete_agent

mini_claude_code/multi_agent.py:354–357  ·  view source on GitHub ↗

标记 agent 完成,追加结果到输出文件。

(self, agent_id: str, result: str)

Source from the content-addressed store, hash-verified

352 # --------------------------------------------------------
353
354 def complete_agent(self, agent_id: str, result: str) -> None:
355 """标记 agent 完成,追加结果到输出文件。"""
356 manifest = self.get_status(agent_id)
357 self._persist_terminal_state(manifest, "completed", result=result)
358
359 def fail_agent(self, agent_id: str, error: str) -> None:
360 """标记 agent 失败,记录错误信息。"""

Callers

nothing calls this directly

Calls 2

get_statusMethod · 0.95

Tested by

no test coverage detected