MCPcopy Create free account
hub / github.com/FinStep-AI/ContestTrade / update_agent_status

Method update_agent_status

cli/main.py:166–171  ·  view source on GitHub ↗

更新Agent状态

(self, agent_name: str, status: str)

Source from the content-addressed store, hash-verified

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 """设置当前任务"""

Calls

no outgoing calls

Tested by

no test coverage detected