Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: 动态加载开头结尾默认 36 块

Liang Ding1506eb59ce2f
diff --git a/kernel/api/filetree.go b/kernel/api/filetree.go
index cdc2bfc77c..40325fc462 100644
--- a/kernel/api/filetree.go
+++ b/kernel/api/filetree.go
@@ -605,6 +605,7 @@ func getDoc(c *gin.Context) {
if nil != startIDArg && nil != endIDArg {
startID = startIDArg.(string)
endID = endIDArg.(string)
+ size = 36
}
blockCount, content, parentID, parent2ID, rootID, typ, eof, boxID, docPath, err := model.GetDoc(startID, endID, id, index, keyword, mode, size)