mirror of
https://github.com/langgenius/dify.git
synced 2026-04-02 21:12:11 +08:00
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
Block a user