mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-10-24 23:23:45 +08:00
fix typo
This commit is contained in:
@@ -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 实例
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user