feat: node add default value

This commit is contained in:
Joel
2024-03-05 14:23:47 +08:00
parent f1d44a4c87
commit 7ec29bbee7
17 changed files with 99 additions and 32 deletions

View File

@ -2,7 +2,10 @@ import type { NodeDefault } from '../../types'
import type { ToolNodeType } from './types'
const nodeDefault: NodeDefault<ToolNodeType> = {
defaultValue: {},
defaultValue: {
tool_inputs: [],
tool_parameters: {},
},
getAvailablePrevNodes() {
return []
},