mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-02 12:22:39 +02:00
update requirement and example, recover legacy code
This commit is contained in:
parent
a680a1a82f
commit
e960ac8dc8
4 changed files with 30 additions and 6 deletions
|
|
@ -4,7 +4,7 @@ from metagpt.roles.di.data_interpreter import DataInterpreter
|
|||
|
||||
|
||||
async def main(requirement: str):
|
||||
role = DataInterpreter(tools=["<all>"])
|
||||
role = DataInterpreter(use_reflection=True, tools=["<all>"])
|
||||
await role.run(requirement)
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue