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: auto summary env (#31930)
zxhlyhcc5705cb7168
diff --git a/web/app/components/datasets/create/step-two/components/general-chunking-options.tsx b/web/app/components/datasets/create/step-two/components/general-chunking-options.tsxindex 84d742d7340..0beda8f5c88 100644--- a/web/app/components/datasets/create/step-two/components/general-chunking-options.tsx+++ b/web/app/components/datasets/create/step-two/components/general-chunking-options.tsx@@ -154,7 +154,7 @@ export const GeneralChunkingOptions: FC<GeneralChunkingOptionsProps> = ({</div>))}{- showSummaryIndexSetting && (+ showSummaryIndexSetting && IS_CE_EDITION && (<div className="mt-3"><SummaryIndexSettingentry="create-document"diff --git a/web/app/components/datasets/create/step-two/components/parent-child-options.tsx b/web/app/components/datasets/create/step-two/components/parent-child-options.tsxindex 22b88037e16..b7b965a4fda 100644--- a/web/app/components/datasets/create/step-two/components/parent-child-options.tsx+++ b/web/app/components/datasets/create/step-two/components/parent-child-options.tsx@@ -12,6 +12,7 @@ import Divider from '@/app/components/base/divider'import { ParentChildChunk } from '@/app/components/base/icons/src/vender/knowledge'import RadioCard from '@/app/components/base/radio-card'import SummaryIndexSetting from '@/app/components/datasets/settings/summary-index-setting'+import { IS_CE_EDITION } from '@/config'import { ChunkingMode } from '@/models/datasets'import FileList from '../../assets/file-list-3-fill.svg'import Note from '../../assets/note-mod.svg'@@ -191,7 +192,7 @@ export const ParentChildOptions: FC<ParentChildOptionsProps> = ({</div>))}{- showSummaryIndexSetting && (+ showSummaryIndexSetting && IS_CE_EDITION && (<div className="mt-3"><SummaryIndexSettingentry="create-document"diff --git a/web/app/components/datasets/documents/components/operations.tsx b/web/app/components/datasets/documents/components/operations.tsxindex d3dcc231219..cdd694fad92 100644--- a/web/app/components/datasets/documents/components/operations.tsx+++ b/web/app/components/datasets/documents/components/operations.tsx@@ -26,6 +26,7 @@ import CustomPopover from '@/app/components/base/popover'import Switch from '@/app/components/base/switch'import { ToastContext } from '@/app/components/base/toast'import Tooltip from '@/app/components/base/tooltip'+import { IS_CE_EDITION } from '@/config'import { DataSourceType, DocumentActionType } from '@/models/datasets'import {useDocumentArchive,@@ -263,10 +264,14 @@ const Operations = ({<span className={s.actionName}>{t('list.action.sync', { ns: 'datasetDocuments' })}</span></div>)}- <div className={s.actionItem} onClick={() => onOperate('summary')}>- <SearchLinesSparkle className="h-4 w-4 text-text-tertiary" />- <span className={s.actionName}>{t('list.action.summary', { ns: 'datasetDocuments' })}</span>- </div>+ {+ IS_CE_EDITION && (+ <div className={s.actionItem} onClick={() => onOperate('summary')}>+ <SearchLinesSparkle className="h-4 w-4 text-text-tertiary" />+ <span className={s.actionName}>{t('list.action.summary', { ns: 'datasetDocuments' })}</span>+ </div>+ )+ }<Divider className="my-1" /></>)}diff --git a/web/app/components/datasets/documents/detail/completed/common/batch-action.tsx b/web/app/components/datasets/documents/detail/completed/common/batch-action.tsxindex 486ba2ffdfa..ca5a56ec2a8 100644--- a/web/app/components/datasets/documents/detail/completed/common/batch-action.tsx+++ b/web/app/components/datasets/documents/detail/completed/common/batch-action.tsx@@ -7,6 +7,7 @@ import Button from '@/app/components/base/button'import Confirm from '@/app/components/base/confirm'import Divider from '@/app/components/base/divider'import { SearchLinesSparkle } from '@/app/components/base/icons/src/vender/knowledge'+import { IS_CE_EDITION } from '@/config'import { cn } from '@/utils/classnames'const i18nPrefix = 'batchAction'@@ -87,7 +88,7 @@ const BatchAction: FC<IBatchActionProps> = ({<span className="px-0.5">{t('metadata.metadata', { ns: 'dataset' })}</span></Button>)}- {onBatchSummary && (+ {onBatchSummary && IS_CE_EDITION && (<Buttonvariant="ghost"className="gap-x-0.5 px-3"diff --git a/web/app/components/datasets/settings/form/index.tsx b/web/app/components/datasets/settings/form/index.tsxindex 1993c9fd8d3..ca072cfcae5 100644--- a/web/app/components/datasets/settings/form/index.tsx+++ b/web/app/components/datasets/settings/form/index.tsx@@ -21,6 +21,7 @@ import RetrievalMethodConfig from '@/app/components/datasets/common/retrieval-meimport { ModelTypeEnum } from '@/app/components/header/account-setting/model-provider-page/declarations'import { useModelList } from '@/app/components/header/account-setting/model-provider-page/hooks'import ModelSelector from '@/app/components/header/account-setting/model-provider-page/model-selector'+import { IS_CE_EDITION } from '@/config'import { useSelector as useAppContextWithSelector } from '@/context/app-context'import { useDatasetDetailContextWithSelector } from '@/context/dataset-detail'import { useDocLink } from '@/context/i18n'@@ -359,7 +360,7 @@ const Form = () => {{indexMethod === IndexingType.QUALIFIED&& [ChunkingMode.text, ChunkingMode.parentChild].includes(currentDataset?.doc_form as ChunkingMode)- && (+ && IS_CE_EDITION && (<><Dividertype="horizontal"diff --git a/web/app/components/workflow/nodes/knowledge-base/panel.tsx b/web/app/components/workflow/nodes/knowledge-base/panel.tsxindex 0a275645a8a..2845d605bf2 100644--- a/web/app/components/workflow/nodes/knowledge-base/panel.tsx+++ b/web/app/components/workflow/nodes/knowledge-base/panel.tsx@@ -18,6 +18,7 @@ import {Group,} from '@/app/components/workflow/nodes/_base/components/layout'import VarReferencePicker from '@/app/components/workflow/nodes/_base/components/variable/var-reference-picker'+import { IS_CE_EDITION } from '@/config'import Split from '../_base/components/split'import ChunkStructure from './components/chunk-structure'import EmbeddingModel from './components/embedding-model'@@ -172,7 +173,7 @@ const Panel: FC<NodePanelProps<KnowledgeBaseNodeType>> = ({{data.indexing_technique === IndexMethodEnum.QUALIFIED&& [ChunkStructureEnum.general, ChunkStructureEnum.parent_child].includes(data.chunk_structure)- && (+ && IS_CE_EDITION && (<><SummaryIndexSettingsummaryIndexSetting={data.summary_index_setting}