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

Method synthesize

tutorials/13_multi_agent_coordination.py:391–398  ·  view source on GitHub ↗

综合 Worker 的发现。这是 Leader 的核心价值。 对应 Reference: EP03 §4 "协调者拥有综合权 —— 不做'基于你的发现'式委派"

(self, results: list[str])

Source from the content-addressed store, hash-verified

389 return self.mailbox.receive(self.identity.name)
390
391 def synthesize(self, results: list[str]) -> str:
392 """
393 综合 Worker 的发现。这是 Leader 的核心价值。
394
395 对应 Reference: EP03 §4
396 "协调者拥有综合权 —— 不做'基于你的发现'式委派"
397 """
398 return "\n".join([f" - {r}" for r in results])
399
400 def shutdown_all(self):
401 """关闭所有 Worker"""

Callers 1

demo_four_phase_workflowFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected