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: Optimize input variable retrieval logic (#22888) (#22914)
HyaCinth45cebf09b042
diff --git a/web/app/components/base/prompt-editor/constants.tsx b/web/app/components/base/prompt-editor/constants.tsxindex 31fbc0abb45..48e67a4ee71 100644--- a/web/app/components/base/prompt-editor/constants.tsx+++ b/web/app/components/base/prompt-editor/constants.tsx@@ -30,7 +30,7 @@ export const checkHasQueryBlock = (text: string) => {* {{#1711617514996.sys.query#}} => [sys, query]*/export const getInputVars = (text: string): ValueSelector[] => {- if (!text)+ if (!text || typeof text !== 'string')return []const allVars = text.match(/{{#([^#]*)#}}/g)