dsh-prime-memory 0.14.0-beta.2 → 0.14.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.js +13 -0
- package/package.json +1 -1
package/dist/client.js
CHANGED
|
@@ -2965,6 +2965,7 @@ var __defProp = Object.defineProperty;
|
|
|
2965
2965
|
if (off.length > 0) ceilingNote = "注意:部署配置已停用 " + off.join("、") + "(运行时开关无法开启)";
|
|
2966
2966
|
}
|
|
2967
2967
|
const mutate = settingsData && settingsData.settings ? !!settingsData.settings.memoryMutate : false;
|
|
2968
|
+
const cfEnabled = settingsData && settingsData.settings ? !!settingsData.settings.conflictFreeze : false;
|
|
2968
2969
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { children: [
|
|
2969
2970
|
settingsData && settingsData.supported === false ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("p", { style: S.hint, children: "settings 服务不可用,记忆模式开关未启用(记忆保持全开)。" }) : settingsData ? /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { style: S.switchPanel, children: [
|
|
2970
2971
|
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { style: S.panelLabel, children: "记忆模式" }),
|
|
@@ -3027,6 +3028,18 @@ var __defProp = Object.defineProperty;
|
|
|
3027
3028
|
}
|
|
3028
3029
|
}
|
|
3029
3030
|
),
|
|
3031
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { style: S.panelLabel, children: "人工冲突裁决" }),
|
|
3032
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
3033
|
+
SwitchRow,
|
|
3034
|
+
{
|
|
3035
|
+
label: "人工冲突裁决",
|
|
3036
|
+
desc: cfEnabled ? '已开启:去重判定"两边都像对的"时冻结冲突对,停放到待人工裁决区' : "默认关闭;开启后冲突按 LLM 的 winner/loser 自动了结变为冻结,需人工裁决",
|
|
3037
|
+
checked: cfEnabled,
|
|
3038
|
+
onChange: (v) => {
|
|
3039
|
+
toggle("conflictFreeze", v);
|
|
3040
|
+
}
|
|
3041
|
+
}
|
|
3042
|
+
),
|
|
3030
3043
|
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { style: S.panelLabel, children: "蒸馏参数" }),
|
|
3031
3044
|
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(DistillSettings, { rpc, disabled: !master, data: settingsData, setData: setSettingsData, onError: setError }),
|
|
3032
3045
|
ceilingNote ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("p", { style: S.hint, children: ceilingNote }) : null
|