fix bugs and make it perform better

This commit is contained in:
geekan 2023-12-22 17:15:36 +08:00
parent 0d1c0f89cc
commit a7a1195a31
11 changed files with 59 additions and 32 deletions

View file

@ -63,7 +63,7 @@ class Debator(Role):
return len(self._rc.news)
async def _act(self) -> Message:
logger.info(f"{self._setting}: ready to {self._rc.todo}")
logger.info(f"{self._setting}: to do {self._rc.todo}")
todo = self._rc.todo # An instance of SpeakAloud
memories = self.get_memories()