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: increase listDirectory max depth from 3 to 10 for deep folder structures

nash_su7a7601ad1e17
diff --git a/src-tauri/src/commands/fs.rs b/src-tauri/src/commands/fs.rs
index e1614ab6..69eae907 100644
--- a/src-tauri/src/commands/fs.rs
+++ b/src-tauri/src/commands/fs.rs
@@ -652,7 +652,7 @@ pub fn list_directory(path: String) -> Result<Vec<FileNode>, String> {
if !p.is_dir() {
return Err(format!("Path is not a directory: '{}'", path));
}
- let nodes = build_tree(p, 0, 3)?;
+ let nodes = build_tree(p, 0, 10)?;
Ok(nodes)
}