Refactor Agent Tool node

Update Agent Tool node to have a single, diamond-shaped connector on the left side with a hollow, white background.
This commit is contained in:
gpt-engineer-app[bot]
2025-07-15 00:23:32 +00:00
parent 34e6dca1f0
commit bf511d85dd
+16 -2
View File
@@ -32,8 +32,22 @@ const AgentToolNode = memo(({ data, selected }: AgentToolNodeProps) => {
/>
</div>
</div>
<Handle type="target" position={Position.Top} />
<Handle type="source" position={Position.Bottom} />
<Handle
type="target"
position={Position.Left}
id="input"
style={{
width: '12px',
height: '12px',
borderRadius: '0',
transform: 'rotate(45deg)',
backgroundColor: 'white',
border: '2px solid var(--handle-border-color-default)',
left: '-6px',
top: '50%',
marginTop: '-6px'
}}
/>
</div>
);
});