From d671e6ca6de6dda035475c59112a56bf1b33c05f Mon Sep 17 00:00:00 2001 From: didi <84363704+didiforgithub@users.noreply.github.com> Date: Thu, 1 Aug 2024 14:24:02 +0800 Subject: [PATCH] Update action_node.py --- metagpt/actions/action_node.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/metagpt/actions/action_node.py b/metagpt/actions/action_node.py index 059118637..ef0414ff7 100644 --- a/metagpt/actions/action_node.py +++ b/metagpt/actions/action_node.py @@ -38,6 +38,7 @@ class ReviseMode(Enum): TAG = "CONTENT" +MODE_CODE_FILL = "code_fill" LANGUAGE_CONSTRAINT = "Language: Please use the same language as Human INPUT." FORMAT_CONSTRAINT = f"Format: output wrapped inside [{TAG}][/{TAG}] like format example, nothing else." @@ -149,8 +150,6 @@ class ActionNode: prevs: List["ActionNode"] # previous nodes nexts: List["ActionNode"] # next nodes - MODE_CODE_FILL = "code_fill" - def __init__( self, key: str,