(node)
| 129 | } |
| 130 | |
| 131 | const renderIcon = (node) => { |
| 132 | const foundIcon = AGENTFLOW_ICONS.find((icon) => icon.name === node.name) |
| 133 | |
| 134 | if (!foundIcon) return null |
| 135 | return <foundIcon.icon size={24} color={'white'} /> |
| 136 | } |
| 137 | |
| 138 | const getBuiltInOpenAIToolIcon = (toolName) => { |
| 139 | switch (toolName) { |