mirror of
https://github.com/langgenius/dify.git
synced 2026-04-27 22:18:15 +08:00
feat: check before run
This commit is contained in:
@ -48,12 +48,6 @@ const useConfig = (id: string, payload: CodeNodeType) => {
|
||||
id,
|
||||
data: inputs,
|
||||
defaultRunInputData: {},
|
||||
beforeRunCheckValid: () => {
|
||||
return {
|
||||
isValid: true,
|
||||
// errorMessage: 'xxxx',
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
const varInputs = toVarInputs(inputs.variables)
|
||||
|
||||
Reference in New Issue
Block a user