Skip to content

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

fix typo

geekan39cb66359505
diff --git a/metagpt/actions/action_node.py b/metagpt/actions/action_node.py
index 178986ebe..96c175ccb 100644
--- a/metagpt/actions/action_node.py
+++ b/metagpt/actions/action_node.py
@@ -285,7 +285,7 @@ class ActionNode:
def action_node_from_tuple_example():
# 示例:列表中包含元组
list_of_tuples = [
- ("key1", int, "Instruction 1", "Example 1")
+ ("key1", str, "Instruction 1", "Example 1")
]
# 从列表中创建 ActionNode 实例
diff --git a/metagpt/actions/write_prd_an.py b/metagpt/actions/write_prd_an.py
index 7368621ea..0781760ba 100644
--- a/metagpt/actions/write_prd_an.py
+++ b/metagpt/actions/write_prd_an.py
@@ -106,7 +106,7 @@ ANYTHING_UNCLEAR = ActionNode(
ISSUE_TYPE = ActionNode(
key="issue_type",
expected_type=str,
- instruction="Answer BUG/REQUIREMENT. If it is a bugfix, answer Bug, otherwise answer Requirement",
+ instruction="Answer BUG/REQUIREMENT. If it is a bugfix, answer BUG, otherwise answer Requirement",
example="BUG"
)