更新Agent状态
(self, agent_name: str, status: str)
| 164 | return False |
| 165 | |
| 166 | def update_agent_status(self, agent_name: str, status: str): |
| 167 | """更新Agent状态""" |
| 168 | if agent_name not in self.agent_status: |
| 169 | self.agent_status[agent_name] = "pending" |
| 170 | |
| 171 | self.agent_status[agent_name] = status |
| 172 | |
| 173 | def set_current_task(self, task: str): |
| 174 | """设置当前任务""" |
no outgoing calls
no test coverage detected