feat: code (#3557)

This commit is contained in:
Yeuoly 2024-04-18 08:00:02 +08:00 committed by GitHub
commit c2acb2be60
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 132 additions and 18 deletions

View file

@ -112,7 +112,7 @@ class CodeNode(BaseNode):
variables[variable] = value
# Run code
try:
result = CodeExecutor.execute_code(
result = CodeExecutor.execute_workflow_code_template(
language=code_language,
code=code,
inputs=variables