mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat: AI workflow builder front-end (no-changelog) (#14820)
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
This commit is contained in:
@@ -17,6 +17,8 @@ export const WorkflowState = Annotation.Root({
|
||||
workflowJSON: Annotation<SimpleWorkflow>({
|
||||
reducer: (x, y) => y ?? x ?? { nodes: [], connections: {} },
|
||||
}),
|
||||
// Whether the user prompt is a workflow prompt.
|
||||
isWorkflowPrompt: Annotation<boolean>({ reducer: (x, y) => y ?? x ?? false }),
|
||||
// The next phase to be executed in the workflow graph.
|
||||
next: Annotation<string>({ reducer: (x, y) => y ?? x ?? END, default: () => END }),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user