From fd6d5faceb8596e4ec1cdf7b9d3ccd7595eae252 Mon Sep 17 00:00:00 2001 From: balibabu Date: Wed, 5 Aug 2026 15:59:57 +0800 Subject: [PATCH] Fix: Remove CompilationTemplateFormField from dataset setting page. (#17852) --- web/src/pages/dataset/dataset-setting/form-schema.ts | 4 ---- web/src/pages/dataset/dataset-setting/general-form.tsx | 4 ---- 2 files changed, 8 deletions(-) diff --git a/web/src/pages/dataset/dataset-setting/form-schema.ts b/web/src/pages/dataset/dataset-setting/form-schema.ts index ac0f3cc7d8..acb0eaf109 100644 --- a/web/src/pages/dataset/dataset-setting/form-schema.ts +++ b/web/src/pages/dataset/dataset-setting/form-schema.ts @@ -103,10 +103,6 @@ export const formSchema = z .optional(), enable_metadata: z.boolean().optional(), llm_id: z.string().optional(), - // Compilation template group (e.g. the "wiki" Artifacts template with - // plan=yes/no). Persisted to parser_config so the wiki build backend can - // resolve the template and honour plan (Mode A vs Mode B). - compilation_template_group_id: z.string().nullish(), // Table parser: "auto" = all columns both, "manual" = use column role selector table_column_mode: z.enum(['auto', 'manual']).optional(), // Table parser: column name -> role (indexing | metadata | both); legacy "vectorize" -> indexing diff --git a/web/src/pages/dataset/dataset-setting/general-form.tsx b/web/src/pages/dataset/dataset-setting/general-form.tsx index a24c9a005d..6fc61df119 100644 --- a/web/src/pages/dataset/dataset-setting/general-form.tsx +++ b/web/src/pages/dataset/dataset-setting/general-form.tsx @@ -1,5 +1,4 @@ import { AvatarUpload } from '@/components/avatar-upload'; -import { CompilationTemplateFormField } from '@/components/compilation-template-form-field'; import { SelectWithSearch } from '@/components/originui/select-with-search'; import PageRankFormField from '@/components/page-rank-form-field'; import { RAGFlowFormItem } from '@/components/ragflow-form'; @@ -130,9 +129,6 @@ export function GeneralForm() { ownerTenantId={useKnowledgeBaseContext().knowledgeBase?.tenant_id} > -