Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

fix: Make flask an extra dependency https://github.com/geekan/MetaGPT/pull/1118#discussion_r1540656272

leiwu3029fecffa3f4b
diff --git a/requirements.txt b/requirements.txt
index f5e9b15c1..da8aa26b2 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -69,5 +69,4 @@ imap_tools==1.5.0 # Used by metagpt/tools/libs/email_login.py
qianfan==0.3.2
dashscope==1.14.1
rank-bm25==0.2.2 # for tool recommendation
-jieba==0.42.1 # for tool recommendation
-flask # for web api
\ No newline at end of file
+jieba==0.42.1 # for tool recommendation
\ No newline at end of file
diff --git a/setup.py b/setup.py
index f834b4c44..257263bba 100644
--- a/setup.py
+++ b/setup.py
@@ -38,6 +38,7 @@ extras_require = {
"llama-index-vector-stores-faiss==0.1.1",
"chromadb==0.4.23",
],
+ "web-api": ["flask==3.0.2"],
}
extras_require["test"] = [