From cb5879406a7ee908b50c764a74f737f709e6afb9 Mon Sep 17 00:00:00 2001 From: Wx-2025 <351320169@qq.com> Date: Mon, 6 Oct 2025 00:41:11 +0800 Subject: [PATCH] Update batch-filler.js --- core/table-system/batch-filler.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/core/table-system/batch-filler.js b/core/table-system/batch-filler.js index a4f831e..f9a6928 100644 --- a/core/table-system/batch-filler.js +++ b/core/table-system/batch-filler.js @@ -149,18 +149,13 @@ function getRawMessagesForSummary(startFloor, endFloor) { const userName = context.name1 || '用户'; const characterName = context.name2 || '角色'; - let tagsToExtract; - let exclusionRules; + let tagsToExtract = []; + let exclusionRules = []; if (settings.table_independent_rules_enabled) { log('批量填表:使用独立提取规则。', 'info'); tagsToExtract = (settings.table_tags_to_extract || '').split(',').map(t => t.trim()).filter(Boolean); exclusionRules = settings.table_exclusion_rules || []; - } else { - log('批量填表:使用微言录提取规则。', 'info'); - const useHistoriographyTags = settings.historiographyTagExtractionEnabled ?? false; - tagsToExtract = useHistoriographyTags ? (settings.historiographyTags || '').split(',').map(t => t.trim()).filter(Boolean) : []; - exclusionRules = settings.historiographyExclusionRules || []; } const messages = historySlice.map((msg, index) => {