fix: node default

This commit is contained in:
zxhlyh
2025-04-29 16:11:54 +08:00
parent 2613a380b6
commit 66176c4d71
40 changed files with 557 additions and 155 deletions

View File

@ -6,12 +6,13 @@ import { BlockEnum } from '@/app/components/workflow/types'
const i18nPrefix = 'workflow.errorMsg'
const metaData = genNodeMetaData({
sort: -1,
type: BlockEnum.Tool,
helpLinkUri: 'tools',
})
const nodeDefault: NodeDefault<ToolNodeType> = {
...genNodeMetaData({
sort: -1,
type: BlockEnum.Tool,
helpLinkUri: 'tools',
}),
metaData,
defaultValue: {
tool_parameters: {},
tool_configurations: {},