Skip to content

Commit

Permalink
fix: text concatenation in TextConcatBlock
Browse files Browse the repository at this point in the history
  • Loading branch information
lss233 committed Feb 22, 2025
1 parent c779b22 commit 8a3fd5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/workflow/implementations/blocks/system/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class TextConcatBlock(Block):
outputs = {"text": Output("text", "拼接后的文本", str, "拼接后的文本")}

def execute(self) -> Dict[str, Any]:
return {"text": self.text1.value + self.text2.value}
return {"text": self.text1 + self.text2}


# 替换输入文本中的某一块文字为变量
Expand Down

0 comments on commit 8a3fd5e

Please sign in to comment.