🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
update failed examples
å¼ å»ºç”Ÿf3ced99c92cb
diff --git a/examples/di/arxiv_reader.py b/examples/di/arxiv_reader.pyindex 6e1939b81..206b2aa98 100644--- a/examples/di/arxiv_reader.py+++ b/examples/di/arxiv_reader.py@@ -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_scrapeasync 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 tolarge 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)diff --git a/examples/di/software_company.py b/examples/di/software_company.pyindex ac9999ca9..bdb4d76d4 100644--- a/examples/di/software_company.py+++ b/examples/di/software_company.py@@ -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",])