LLM Wiki is a cross-platform desktop application that turns your documents into an organized, interlinked knowledge base — automatically. Instead of traditional RAG (retrieve-and-answer from scratch every time), the LLM incrementally builds and maintains a persistent wiki from your sources。
TypeScript
fix: correct reference variable in resolveSourceReference function
Dongmin, Yu34a3b4b9d6b0
diff --git a/src/lib/wiki-page-resolver.ts b/src/lib/wiki-page-resolver.tsindex 42b74ca3..f51d667a 100644--- a/src/lib/wiki-page-resolver.ts+++ b/src/lib/wiki-page-resolver.ts@@ -69,7 +69,7 @@ export function resolveSourceReference(if (isHttpUrl(trimmedRef)) return { kind: "external", url: trimmedRef }if (!sourcesRoot) return { kind: "missing" }- const path = resolveSourceName(index, ref, sourcesRoot)+ const path = resolveSourceName(index, trimmedRef, sourcesRoot)return path ? { kind: "local", path } : { kind: "missing" }}