feat: agent node checklist

This commit is contained in:
AkaraChen
2025-01-02 11:29:10 +08:00
parent 4663af8a60
commit 1b8ec6710a
14 changed files with 107 additions and 35 deletions

View File

@ -1,4 +1,4 @@
import { type FC, useMemo } from 'react'
import { type FC, memo, useMemo } from 'react'
import type { NodeProps } from '../../types'
import type { AgentNodeType } from './types'
import { SettingItem } from '../_base/components/setting-item'
@ -126,4 +126,6 @@ const AgentNode: FC<NodeProps<AgentNodeType>> = (props) => {
</div>
}
export default AgentNode
AgentNode.displayName = 'AgentNode'
export default memo(AgentNode)