mirror of https://github.com/langgenius/dify.git
enhance: code return tyoe
This commit is contained in:
parent
0d2a90adf3
commit
de6cbc36bb
|
|
@ -55,7 +55,7 @@ class CodeNode(BaseNode):
|
|||
"code": JAVASCRIPT_DEFAULT_CODE,
|
||||
"outputs": {
|
||||
"result": {
|
||||
"type": "number",
|
||||
"type": "string",
|
||||
"children": None
|
||||
}
|
||||
}
|
||||
|
|
@ -79,7 +79,7 @@ class CodeNode(BaseNode):
|
|||
"code": PYTHON_DEFAULT_CODE,
|
||||
"outputs": {
|
||||
"result": {
|
||||
"type": "number",
|
||||
"type": "string",
|
||||
"children": None
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue