mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-20 15:38:09 +02:00
renaming & provide example & small bug fix
This commit is contained in:
parent
96fd7c8853
commit
7bf808ee25
6 changed files with 164 additions and 19 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue