Skip to content

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

feat: merge geekan:main

莘权 马76a0271701e1
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 367d0d766,5c348f7b9..ea245fbf9
--- a/requirements.txt
+++ b/requirements.txt
@@@ -66,7 -68,10 +68,11 @@@ anytre
ipywidgets==8.1.1
Pillow
imap_tools==1.5.0 # Used by metagpt/tools/libs/email_login.py
-qianfan~=0.3.16
+qianfan~=0.4.4
- dashscope==1.14.1
+ dashscope~=1.19.3
rank-bm25==0.2.2 # for tool recommendation
- jieba==0.42.1 # for tool recommendation
++jieba==0.42.1 # for tool recommendation
+ gymnasium==0.29.1
+ boto3~=1.34.69
+ spark_ai_python~=0.3.30
+ agentops