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

Method collect_results

tutorials/13_multi_agent_coordination.py:387–389  ·  view source on GitHub ↗

收集 Worker 的结果

(self)

Source from the content-addressed store, hash-verified

385 print(f" [Leader] 分配任务给 {worker_name}: {task[:40]}...")
386
387 def collect_results(self) -> list[AgentMessage]:
388 """收集 Worker 的结果"""
389 return self.mailbox.receive(self.identity.name)
390
391 def synthesize(self, results: list[str]) -> str:
392 """

Callers 1

demo_four_phase_workflowFunction · 0.95

Calls 1

receiveMethod · 0.80

Tested by

no test coverage detected