标记 agent 完成,追加结果到输出文件。
(self, agent_id: str, result: str)
| 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 失败,记录错误信息。""" |
nothing calls this directly
no test coverage detected