Update action_node.py

This commit is contained in:
didi 2024-08-01 14:24:02 +08:00
parent 6d4c72cdf0
commit d671e6ca6d

View file

@ -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,