mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-09-03 06:35:22 +08:00
update failed examples
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
from metagpt.roles.di.data_interpreter import DataInterpreter
|
||||
from metagpt.tools.libs.web_scraping import view_page_element_to_scrape
|
||||
|
||||
|
||||
async def main():
|
||||
@@ -10,7 +11,7 @@ async def main():
|
||||
prompt = f"""This is a collection of arxiv urls: '{urls}' .
|
||||
Record each article, remove duplicates by title (they may have multiple tags), filter out papers related to
|
||||
large language model / agent / llm, print top 100 and visualize the word count of the titles"""
|
||||
di = DataInterpreter(react_mode="react", tools=["scrape_web_playwright"])
|
||||
di = DataInterpreter(react_mode="react", tools=[view_page_element_to_scrape.__name__])
|
||||
|
||||
await di.run(prompt)
|
||||
|
||||
|
||||
@@ -22,13 +22,13 @@ Note: All required dependencies and environments have been fully installed and c
|
||||
"""
|
||||
di = DataInterpreter(
|
||||
tools=[
|
||||
"write_prd",
|
||||
"write_design",
|
||||
"write_project_plan",
|
||||
"write_codes",
|
||||
"run_qa_test",
|
||||
"fix_bug",
|
||||
"git_archive",
|
||||
"WritePRD",
|
||||
"WriteDesign",
|
||||
"WritePlan",
|
||||
"WriteCode",
|
||||
"RunCode",
|
||||
"DebugError",
|
||||
# "git_archive",
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user