Skip to content

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: don't switch view when previewing source file — stay on Sources page

nash_su27ad42cccf21
diff --git a/src/components/sources/sources-view.tsx b/src/components/sources/sources-view.tsx
index eb221f3b..246841ef 100644
--- a/src/components/sources/sources-view.tsx
+++ b/src/components/sources/sources-view.tsx
@@ -179,7 +179,6 @@ export function SourcesView() {
}
async function handleOpenSource(node: FileNode) {
- setActiveView("wiki")
setSelectedFile(node.path)
try {
const content = await readFile(node.path)