refine code

This commit is contained in:
geekan 2024-01-09 17:01:21 +08:00
parent 33db023e94
commit 7e20e54717
20 changed files with 43 additions and 45 deletions

View file

@ -49,7 +49,7 @@ class Debator(Role):
def __init__(self, **data: Any):
super().__init__(**data)
self._init_actions([SpeakAloud])
self.add_actions([SpeakAloud])
self._watch([UserRequirement, SpeakAloud])
async def _observe(self) -> int: