mirror of
https://github.com/langgenius/dify.git
synced 2026-02-27 21:17:13 +08:00
enhance: code return tyoe
This commit is contained in:
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user