diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/HumanInteractionNode/HumanInteractionNode.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/HumanInteractionNode/HumanInteractionNode.tsx index 54139c78..59225219 100644 --- a/skyvern-frontend/src/routes/workflows/editor/nodes/HumanInteractionNode/HumanInteractionNode.tsx +++ b/skyvern-frontend/src/routes/workflows/editor/nodes/HumanInteractionNode/HumanInteractionNode.tsx @@ -84,17 +84,6 @@ function HumanInteractionNode({ nodeId={id} totpIdentifier={null} totpUrl={null} - transmutations={{ - blockTitle: "Validation", - self: "human", - others: [ - { - label: "agent", - reason: "Convert to automated agent validation", - nodeName: "validation", - }, - ], - }} type={type} />
) { nodeId={id} totpIdentifier={null} totpUrl={null} - transmutations={{ - blockTitle: "Validation", - self: "agent", - others: [ - { - label: "human", - reason: "Convert to human validation", - nodeName: "human_interaction", - }, - ], - }} type={type} />
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/types.ts b/skyvern-frontend/src/routes/workflows/editor/nodes/types.ts index 3eb9ba11..1917c967 100644 --- a/skyvern-frontend/src/routes/workflows/editor/nodes/types.ts +++ b/skyvern-frontend/src/routes/workflows/editor/nodes/types.ts @@ -59,7 +59,7 @@ export const workflowBlockTitle: { text_prompt: "Text Prompt", upload_to_s3: "Upload To S3", file_upload: "Cloud Storage", - validation: "Validation", + validation: "AI Validation", human_interaction: "Human Interaction", wait: "Wait", pdf_parser: "PDF Parser", diff --git a/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowNodeLibraryPanel.tsx b/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowNodeLibraryPanel.tsx index 77075d9a..20e058a8 100644 --- a/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowNodeLibraryPanel.tsx +++ b/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowNodeLibraryPanel.tsx @@ -84,24 +84,20 @@ const nodeLibraryItems: Array<{ className="size-6" /> ), - title: "AI or Human Validation", - description: "Have an AI or Human validate the state of the screen", + title: "AI Validation Block", + description: "Have an AI validate the state of the screen", + }, + { + nodeType: "human_interaction", + icon: ( + + ), + title: "Human Interaction Block", + description: "Pause workflow for human review and approval", }, - /** - * The Human Interaction block can be had via a transmutation of the - * Validation block. - */ - // { - // nodeType: "human_interaction", - // icon: ( - // - // ), - // title: "Human Interaction Block", - // description: "Validate via human interaction", - // }, // { // nodeType: "task", // icon: (