mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 01:48:04 +08:00
feat: can run code node
This commit is contained in:
@ -27,7 +27,7 @@ const useConfig = (id: string, payload: CodeNodeType) => {
|
||||
setInputs(newInputs)
|
||||
}, [inputs, setInputs])
|
||||
|
||||
const { handleVarListChange: handleOutputVarListChange, handleAddVariable: handleAddOutputVariable } = useOutputVarList<CodeNodeType>({
|
||||
const { handleVarsChange, handleAddVariable: handleAddOutputVariable } = useOutputVarList<CodeNodeType>({
|
||||
inputs,
|
||||
setInputs,
|
||||
})
|
||||
@ -68,7 +68,7 @@ const useConfig = (id: string, payload: CodeNodeType) => {
|
||||
handleAddVariable,
|
||||
handleCodeChange,
|
||||
handleCodeLanguageChange,
|
||||
handleOutputVarListChange,
|
||||
handleVarsChange,
|
||||
handleAddOutputVariable,
|
||||
// single run
|
||||
isShowSingleRun,
|
||||
|
||||
Reference in New Issue
Block a user