renaming & provide example & small bug fix

This commit is contained in:
garylin2099 2023-11-17 00:20:46 +08:00
parent 96fd7c8853
commit 7bf808ee25
6 changed files with 164 additions and 19 deletions

View file

@ -77,6 +77,8 @@ class Debator(Role):
send_to=self.opponent_name,
)
self._rc.memory.add(msg)
return msg
async def debate(idea: str, investment: float = 3.0, n_round: int = 5):