|
|
|
@ -46,6 +46,7 @@ import cn from '@/utils/classnames'
|
|
|
|
import BlockIcon from '@/app/components/workflow/block-icon'
|
|
|
|
import BlockIcon from '@/app/components/workflow/block-icon'
|
|
|
|
import Tooltip from '@/app/components/base/tooltip'
|
|
|
|
import Tooltip from '@/app/components/base/tooltip'
|
|
|
|
import useInspectVarsCrud from '../../hooks/use-inspect-vars-crud'
|
|
|
|
import useInspectVarsCrud from '../../hooks/use-inspect-vars-crud'
|
|
|
|
|
|
|
|
import { ToolTypeEnum } from '../../block-selector/types'
|
|
|
|
|
|
|
|
|
|
|
|
type BaseNodeProps = {
|
|
|
|
type BaseNodeProps = {
|
|
|
|
children: ReactElement
|
|
|
|
children: ReactElement
|
|
|
|
@ -322,7 +323,7 @@ const BaseNode: FC<BaseNodeProps> = ({
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{data.type === BlockEnum.Tool && (
|
|
|
|
{data.type === BlockEnum.Tool && data.provider_type === ToolTypeEnum.MCP && (
|
|
|
|
<div className='px-3 pb-2'>
|
|
|
|
<div className='px-3 pb-2'>
|
|
|
|
<CopyID content={data.provider_id || ''} />
|
|
|
|
<CopyID content={data.provider_id || ''} />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|