feat(workflow): Plugin Trigger Node with Unified Entry Node System (#24205)

This commit is contained in:
lyzno1
2025-08-20 23:49:10 +08:00
committed by GitHub
parent 6eaea64b3f
commit 833c902b2b
19 changed files with 518 additions and 57 deletions

View File

@ -506,7 +506,7 @@ export const useToolIcon = (data: Node['data']) => {
const toolIcon = useMemo(() => {
if (!data)
return ''
if (data.type === BlockEnum.Tool) {
if (data.type === BlockEnum.Tool || data.type === BlockEnum.TriggerPlugin) {
let targetTools = workflowTools
if (data.provider_type === CollectionType.builtIn)
targetTools = buildInTools