Repository navigation
Fix: Remove the right anchor point of the tool node - #18224
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThe change adds a reusable bottom handle with a downward indicator, updates agent nodes to use it, and prevents tool node target handles from starting connections. ChangesCanvas handle flow
Estimated code review effort: 2 (Simple) | ~10 minutes Mergeability Score: ⚪ Minimal · up to This localized UI change is merge-ready after normal checks and review, with no actionable merge-blocking risk remaining. Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
wangq8
left a comment
There was a problem hiding this comment.
One thing I'd like confirmed before merge: removing the right source handle from the tool node.
The code being deleted explicitly warned that "v1 ExeSQL and similar 'tool' components route their result downstream, so they need a source handle too. Without this, any edge where the toolNode is the source silently fails to render." Can you confirm tool nodes (especially ExeSQL/Code-style tools) are no longer intended to be edge sources in the current design? If any tool still emits a downstream edge, this will silently break rendering.
Otherwise the refactor looks clean: isConnectableStart is a valid @xyflow/react v12 prop (already used elsewhere as isConnectableEnd), and BottomHandle nicely consolidates the duplicated bottom-handle markup.
One visual note: the bottom handles now render as a grey chevron (!bg-text-disabled / !border-border-button with a ChevronDown icon) instead of the previous !bg-accent-primary dot — confirming that's the intended look.
Summary
Fix: Remove the right anchor point of the tool node