mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-05-15 22:30:38 +08:00
Default recall card display to beautify only
This commit is contained in:
4
index.js
4
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) {
|
||||
|
||||
4
panel.js
4
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";
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user