mirror of
https://github.com/langgenius/dify.git
synced 2026-04-09 01:37:14 +08:00
temp publish not check valid
This commit is contained in:
parent
b038b7aa33
commit
93bbb2694f
@ -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 = ''
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user