Skip to content

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

feat: merge main

莘权 马8a92fa0f366f
diff --cc metagpt/actions/design_api_an.py
index 5977cbd95,cffb09c76..ca7aea95a
--- a/metagpt/actions/design_api_an.py
+++ b/metagpt/actions/design_api_an.py
@@@ -5,7 -5,7 +5,7 @@@
@Author : alexanderwu
@File : design_api_an.py
"""
- from typing import List
-from typing import List,Optional
++from typing import List, Optional
from metagpt.actions.action_node import ActionNode
from metagpt.utils.mermaid import MMC1, MMC2
@@@ -45,9 -45,10 +45,10 @@@ REFINED_FILE_LIST = ActionNode
example=["main.py", "game.py", "new_feature.py"],
)
-#optional,because low success reproduction of class diagram in non py project.
++# optional,because low success reproduction of class diagram in non py project.
DATA_STRUCTURES_AND_INTERFACES = ActionNode(
key="Data structures and interfaces",
- expected_type=str,
+ expected_type=Optional[str],
instruction="Use mermaid classDiagram code syntax, including classes, method(__init__ etc.) and functions with type"
" annotations, CLEARLY MARK the RELATIONSHIPS between classes, and comply with PEP8 standards. "
"The data structures SHOULD BE VERY DETAILED and the API should be comprehensive with a complete design.",
diff --cc requirements.txt
index ac3b353b8,5c348f7b9..cfac78aa1
--- a/requirements.txt
+++ b/requirements.txt
@@@ -66,9 -68,10 +68,13 @@@ anytre
ipywidgets==8.1.1
Pillow
imap_tools==1.5.0 # Used by metagpt/tools/libs/email_login.py
- qianfan==0.3.2
- dashscope==1.14.1
+ qianfan~=0.3.16
+ dashscope~=1.19.3
rank-bm25==0.2.2 # for tool recommendation
+jieba==0.42.1 # for tool recommendation
+# llama-index-vector-stores-elasticsearch~=0.2.5 # Used by `metagpt/memory/longterm_memory.py`
- # llama-index-vector-stores-chroma~=0.1.10 # Used by `metagpt/memory/longterm_memory.py`
++# llama-index-vector-stores-chroma~=0.1.10 # Used by `metagpt/memory/longterm_memory.py`
+ gymnasium==0.29.1
+ boto3~=1.34.69
+ spark_ai_python~=0.3.30
+ agentops