fix: add block enumeration and tool icon handling for enhanced workflow functionality

This commit is contained in:
twwu
2025-07-14 11:44:13 +08:00
parent 682b65034c
commit 6313f819cf
5 changed files with 15 additions and 28 deletions

View File

@ -1,9 +1,10 @@
import type { StrategyDetail, StrategyPluginDetail } from '@/app/components/plugins/types'
import { ALL_CHAT_AVAILABLE_BLOCKS, ALL_COMPLETION_AVAILABLE_BLOCKS } from '@/app/components/workflow/blocks'
import type { NodeDefault } from '../../types'
import { BlockEnum, type NodeDefault } from '../../types'
import type { AgentNodeType } from './types'
import { FormTypeEnum } from '@/app/components/header/account-setting/model-provider-page/declarations'
import { renderI18nObject } from '@/i18n'
import { genNodeMetaData } from '../../utils'
const metaData = genNodeMetaData({
sort: 3,