mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 08:58:09 +08:00
temp publish not check valid
This commit is contained in:
@ -22,6 +22,10 @@ const nodeDefault: NodeDefault<ToolNodeType> = {
|
||||
return nodes
|
||||
},
|
||||
checkValid(payload: ToolNodeType, t: any, moreDataForCheckValid: any) {
|
||||
// TODO: wait for publish add moreDataForCheckValid
|
||||
if (!moreDataForCheckValid)
|
||||
return { isValid: true }
|
||||
|
||||
const { toolInputsSchema, toolSettingSchema, language } = moreDataForCheckValid
|
||||
let errorMessages = ''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user