mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-01 11:56:24 +02:00
first pipeline framework
This commit is contained in:
parent
bbffb3f135
commit
2e6cc6540b
15 changed files with 445 additions and 6 deletions
|
|
@ -49,7 +49,6 @@ class Trump(Role):
|
|||
super().__init__(name, profile, **kwargs)
|
||||
self._init_actions([ShoutOut])
|
||||
self._watch([ShoutOut])
|
||||
self.name = "Trump"
|
||||
self.opponent_name = "Biden"
|
||||
|
||||
async def _observe(self) -> int:
|
||||
|
|
@ -89,7 +88,6 @@ class Biden(Role):
|
|||
super().__init__(name, profile, **kwargs)
|
||||
self._init_actions([ShoutOut])
|
||||
self._watch([BossRequirement, ShoutOut])
|
||||
self.name = "Biden"
|
||||
self.opponent_name = "Trump"
|
||||
|
||||
async def _observe(self) -> int:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue