From 39cb66359505edef07b9e1fb5f5c1f341372bcec Mon Sep 17 00:00:00 2001 From: geekan Date: Thu, 14 Dec 2023 16:21:56 +0800 Subject: [PATCH] fix typo --- metagpt/actions/action_node.py | 2 +- metagpt/actions/write_prd_an.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" )