mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-26 15:49:42 +02:00
update code for add skills
bug fix: check event and update event
This commit is contained in:
parent
6bcd3bdcee
commit
64a1246e1c
5 changed files with 112 additions and 84 deletions
|
|
@ -24,8 +24,7 @@ async def learn(task="Start", investment: float = 50.0, n_round: int = 3):
|
|||
|
||||
]
|
||||
)
|
||||
print(mc_player.environment.roles)
|
||||
print(mc_player.environment.roles["Generate code for specified tasks"]._rc)
|
||||
|
||||
mc_player.invest(investment)
|
||||
mc_player.start(task)
|
||||
await mc_player.run(n_round=n_round)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue