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: not show opening question if the opening message is empty (#5856)
Joel6d0a605c5f72
diff --git a/web/app/components/app/configuration/features/chat-group/opening-statement/index.tsx b/web/app/components/app/configuration/features/chat-group/opening-statement/index.tsxindex 6327035599a..b9c2ab3629b 100644--- a/web/app/components/app/configuration/features/chat-group/opening-statement/index.tsx+++ b/web/app/components/app/configuration/features/chat-group/opening-statement/index.tsx@@ -20,6 +20,7 @@ import { getInputKeys } from '@/app/components/base/block-input'import ConfirmAddVar from '@/app/components/app/configuration/config-prompt/confirm-add-var'import { getNewVar } from '@/utils/var'import { varHighlightHTML } from '@/app/components/app/configuration/base/var-highlight'+import Toast from '@/app/components/base/toast'const MAX_QUESTION_NUM = 5@@ -93,6 +94,15 @@ const OpeningStatement: FC<IOpeningStatementProps> = ({}const handleConfirm = () => {+ if (!(tempValue || '').trim()) {+ Toast.notify({+ type: 'error',+ message: t('common.errorMsg.fieldRequired', {+ field: t('appDebug.openingStatement.title'),+ }),+ })+ return+ }const keys = getInputKeys(tempValue)const promptKeys = promptVariables.map(item => item.key)let notIncludeKeys: string[] = []