Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(workflow): restore missing copilot panel import

Steven Enamakel1a799c41f7e2
diff --git a/app/src/components/flows/WorkflowCopilotPanel.tsx b/app/src/components/flows/WorkflowCopilotPanel.tsx
index b79ea3f5d3..7b55aeb0e3 100644
--- a/app/src/components/flows/WorkflowCopilotPanel.tsx
+++ b/app/src/components/flows/WorkflowCopilotPanel.tsx
@@ -510,12 +510,6 @@ export default function WorkflowCopilotPanel({
? (state.chatRuntime.processingByThread?.[threadId] ?? EMPTY_TRANSCRIPT)
: EMPTY_TRANSCRIPT
);
- const [openSubagentTaskId, setOpenSubagentTaskId] = useState<string | null>(null);
- const canOpenSubagent = useCallback(
- (taskId: string) => toolTimeline.some(entry => entry.subagent?.taskId === taskId),
- [toolTimeline]
- );
-
// The copilot's authoring footer: error line, proposal preview, capped card
// and the builder composer. Parked approvals are NOT repeated here — the
// assistant-ui transcript renders them inline on the gated tool call (see