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(web): number type prompt variable required validation not effective (#20898)
yangzhelib69f952e3e61
diff --git a/web/app/components/app/configuration/debug/index.tsx b/web/app/components/app/configuration/debug/index.tsxindex 477328dad37..38b0c890e25 100644--- a/web/app/components/app/configuration/debug/index.tsx+++ b/web/app/components/app/configuration/debug/index.tsx@@ -156,12 +156,11 @@ const Debug: FC<IDebug> = ({}let hasEmptyInput = ''const requiredVars = modelConfig.configs.prompt_variables.filter(({ key, name, required, type }) => {- if (type !== 'string' && type !== 'paragraph' && type !== 'select')+ if (type !== 'string' && type !== 'paragraph' && type !== 'select' && type !== 'number')return falseconst res = (!key || !key.trim()) || (!name || !name.trim()) || (required || required === undefined || required === null)return res}) // compatible with old version- // debuggerrequiredVars.forEach(({ key, name }) => {if (hasEmptyInput)return