From a9704789a409bcb62002cf329b29d5181ee2ff49 Mon Sep 17 00:00:00 2001 From: Hao19911125 <99091644+Hao19911125@users.noreply.github.com> Date: Fri, 3 Apr 2026 14:54:44 +0800 Subject: [PATCH] Default recall card display to beautify only --- index.js | 4 ++-- panel.js | 4 ++-- recall-message-ui.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/index.js b/index.js index 574b062..80dfced 100644 --- a/index.js +++ b/index.js @@ -352,7 +352,7 @@ const defaultSettings = { // 召回设置 recallEnabled: true, - recallCardUserInputDisplayMode: "mirror", + recallCardUserInputDisplayMode: "beautify_only", recallTopK: 20, // 向量预筛 Top-K recallMaxNodes: 8, // LLM 召回最大节点数 recallEnableLLM: true, // 是否启用 LLM 精确召回 @@ -1846,7 +1846,7 @@ function normalizeRecallCardUserInputDisplayMode(mode) { ) { return normalized; } - return "mirror"; + return "beautify_only"; } function applyRecallCardUserInputDisplayMode(messageElement, mode) { diff --git a/panel.js b/panel.js index 9b4b7b7..a72c61b 100644 --- a/panel.js +++ b/panel.js @@ -1539,7 +1539,7 @@ function _refreshConfigTab() { ); _setInputValue( "bme-setting-recall-card-user-input-display-mode", - settings.recallCardUserInputDisplayMode ?? "mirror", + settings.recallCardUserInputDisplayMode ?? "beautify_only", ); _setInputValue("bme-setting-extract-every", settings.extractEvery ?? 1); @@ -1829,7 +1829,7 @@ function _bindConfigControls() { recallCardUserInputDisplayModeEl.addEventListener("change", () => { _patchSettings({ recallCardUserInputDisplayMode: - recallCardUserInputDisplayModeEl.value || "mirror", + recallCardUserInputDisplayModeEl.value || "beautify_only", }); }); recallCardUserInputDisplayModeEl.dataset.bmeBound = "true"; diff --git a/recall-message-ui.js b/recall-message-ui.js index 67ad90f..7a37b97 100644 --- a/recall-message-ui.js +++ b/recall-message-ui.js @@ -88,7 +88,7 @@ function normalizeUserInputDisplayMode(mode) { ) { return normalized; } - return "mirror"; + return "beautify_only"; } function stableSerialize(value) { @@ -198,7 +198,7 @@ export function createRecallCardElement({ userMessageText = "", graph = null, themeName = "crimson", - userInputDisplayMode = "mirror", + userInputDisplayMode = "beautify_only", callbacks = {}, }) { const card = el("div", "bme-recall-card");