Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
Add is_saved_task parameter (#528)
Salih Altun393196a13abd
diff --git a/skyvern-frontend/src/routes/tasks/create/SavedTaskForm.tsx b/skyvern-frontend/src/routes/tasks/create/SavedTaskForm.tsxindex 5acf2b4aa..7478def54 100644--- a/skyvern-frontend/src/routes/tasks/create/SavedTaskForm.tsx+++ b/skyvern-frontend/src/routes/tasks/create/SavedTaskForm.tsx@@ -148,6 +148,7 @@ function createTaskTemplateRequestObject(values: SavedTaskFormValues) {return {title: values.title,description: values.description,+ is_saved_task: true,webhook_callback_url: values.webhookCallbackUrl,proxy_location: values.proxyLocation,workflow_definition: {diff --git a/skyvern-frontend/src/routes/tasks/create/SavedTasks.tsx b/skyvern-frontend/src/routes/tasks/create/SavedTasks.tsxindex 46e4db432..b2607c86d 100644--- a/skyvern-frontend/src/routes/tasks/create/SavedTasks.tsx+++ b/skyvern-frontend/src/routes/tasks/create/SavedTasks.tsx@@ -20,6 +20,7 @@ function createEmptyTaskTemplate() {return {title: "New Template",description: "",+ is_saved_task: true,webhook_callback_url: null,proxy_location: "RESIDENTIAL",workflow_definition: {@@ -53,7 +54,9 @@ function SavedTasks() {queryKey: ["workflows"],queryFn: async () => {const client = await getClient(credentialGetter);- return client.get("/workflows").then((response) => response.data);+ return client+ .get("/workflows?only_saved_tasks=true")+ .then((response) => response.data);},});