Reported by @pulsar basin
Bug Report: AgentKit bug whenever I click an agent node, UI bugs out
`Steps to Reproduce`
whenever I try to click agent node on Agentkit, the UI bugs out and the canvas just goes blank. New nodes, even new workflows, this happens
`Expected Result`
To be able to edit the agent node
`Actual Result`
Canvas for agentkit bugs out and goes blank
`Environment`
Macbook m4 chip Pro, Safari (most update model)