Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: prompt undefined caused match problem (#4010)
Joelc1fdaa6ae0c8
diff --git a/web/app/components/workflow/nodes/_base/components/variable/utils.ts b/web/app/components/workflow/nodes/_base/components/variable/utils.tsindex ee3a70456b9..1c396be536f 100644--- a/web/app/components/workflow/nodes/_base/components/variable/utils.ts+++ b/web/app/components/workflow/nodes/_base/components/variable/utils.ts@@ -235,6 +235,8 @@ const matchNotSystemVars = (prompts: string[]) => {const allVars: string[] = []prompts.forEach((prompt) => {VAR_REGEX.lastIndex = 0+ if (typeof prompt !== 'string')+ returnallVars.push(...(prompt.match(VAR_REGEX) || []))})const uniqVars = uniq(allVars).map(v => v.replaceAll('{{#', '').replace('#}}', '').split('.'))