-
Notifications
You must be signed in to change notification settings - Fork 113
Closed
Description
I am trying to contribute to Inkeep (mainly performance improvements)
and started by measuring the Agent component using React Scan.
When opening the Agent Settings dialog it is taking around 500-800ms.
Root cause:
Whenever the dialog opens, it causes the entire Agent component to
re-render including the ReactFlow canvas.
What I tried:
I tried to separate the AgentSidePanel from the AgentFlowPanel into
their own components, but realized there are shared states (isOpen,
nodeId, edgeId, isCopilotStreaming, canEdit) between them which makes
a clean separation difficult.
I am keeping this open and continuing to look for better optimizations.
Would appreciate any thoughts from the team on the best approach here.
agent-settings.webm

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels