refine code

This commit is contained in:
geekan 2024-01-09 17:01:21 +08:00 committed by 莘权 马
parent dacdfd799e
commit b259203f74
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: