Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
Open workflow copilot by default when no blocks exist (#4625)
Shuchang Zheng3eb7f60ba8f4
diff --git a/skyvern-frontend/src/routes/workflows/editor/Workspace.tsx b/skyvern-frontend/src/routes/workflows/editor/Workspace.tsxindex 147e579f1..a86e9a64a 100644--- a/skyvern-frontend/src/routes/workflows/editor/Workspace.tsx+++ b/skyvern-frontend/src/routes/workflows/editor/Workspace.tsx@@ -248,7 +248,9 @@ function Workspace({const [toDeleteCacheKeyValue, setToDeleteCacheKeyValue] = useState<string | null>(null);- const [isCopilotOpen, setIsCopilotOpen] = useState(false);+ const [isCopilotOpen, setIsCopilotOpen] = useState(+ () => !initialNodes.some(isWorkflowBlockNode),+ );const [copilotMessageCount, setCopilotMessageCount] = useState(0);const copilotButtonRef = useRef<HTMLButtonElement>(null);const [