🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
update deps for web browser engine
shenchucheng6ac39c2afab9
diff --git a/docs/ROADMAP.md b/docs/ROADMAP.mdindex 5c7557745..005a59ab2 100644--- a/docs/ROADMAP.md+++ b/docs/ROADMAP.md@@ -58,8 +58,8 @@ To reach version v0.5, approximately 70% of the following tasks need to be compl5. Plugins: Compatibility with plugin system6. Tools1. ~~Support SERPER api~~- 2. Support Selenium apis- 3. Support Playwright apis+ 2. ~~Support Selenium apis~~+ 3. ~~Support Playwright apis~~7. Roles1. Perfect the action pool/skill pool for each role2. Red Book bloggerdiff --git a/requirements.txt b/requirements.txtindex bb53aedfe..b2eaaaf4c 100644--- a/requirements.txt+++ b/requirements.txt@@ -29,3 +29,6 @@ tenacity==8.2.2tiktoken==0.3.3tqdm==4.64.0#unstructured[local-inference]+# playwright+# selenium>4+# webdriver_manager<3.9diff --git a/setup.py b/setup.pyindex 790c90650..6b3c2fb01 100644--- a/setup.py+++ b/setup.py@@ -10,12 +10,12 @@ import subprocessclass InstallMermaidCLI(Command):"""A custom command to run `npm install -g @mermaid-js/mermaid-cli` via a subprocess."""- description = 'install mermaid-cli'+ description = "install mermaid-cli"user_options = []def run(self):try:- subprocess.check_call(['npm', 'install', '-g', '@mermaid-js/mermaid-cli'])+ subprocess.check_call(["npm", "install", "-g", "@mermaid-js/mermaid-cli"])except subprocess.CalledProcessError as e:print(f"Error occurred: {e.output}")@@ -42,7 +42,15 @@ setup(packages=find_packages(exclude=["contrib", "docs", "examples"]),python_requires=">=3.9",install_requires=requirements,+ extras_require={+ "web_browser": [+ "playwright>=1.26",+ "beautifulsoup4",+ ],+ "playwright": ["playwright"],+ "selenium": ["selenium>4", "webdriver_manager<3.9"],+ },cmdclass={- 'install_mermaid': InstallMermaidCLI,+ "install_mermaid": InstallMermaidCLI,},)