fix(memory-wiki): narrow synthesis confidence normalization · openclaw/openclaw@b425438
steipete
·
2026-05-29
·
via Recent Commits to openclaw:main
File tree
extensions/memory-wiki/src
| Original file line number | Diff line number | Diff line change |
|---|
@@ -63,6 +63,14 @@ type ApplyMemoryWikiMutationResult = {
|
63 | 63 | compile: CompileMemoryWikiResult; |
64 | 64 | }; |
65 | 65 | |
| 66 | +function normalizeMutationConfidence( |
| 67 | +params: Record<string, unknown>, |
| 68 | +options: { allowNull: false }, |
| 69 | +): number | undefined; |
| 70 | +function normalizeMutationConfidence( |
| 71 | +params: Record<string, unknown>, |
| 72 | +options: { allowNull: true }, |
| 73 | +): number | null | undefined; |
66 | 74 | function normalizeMutationConfidence( |
67 | 75 | params: Record<string, unknown>, |
68 | 76 | options: { allowNull: boolean }, |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。