An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: When maxListCount limit is not reached, the wrong pop-up box prompts a maxListCount error (#8846)
Candyメ奶糖0c621de5d9a1
diff --git a/kernel/model/file.go b/kernel/model/file.goindex 8542f9190b..be56fc8481 100644--- a/kernel/model/file.go+++ b/kernel/model/file.go@@ -387,6 +387,7 @@ func ListDocTree(boxID, path string, sortMode int, flashcard bool, maxListCountreturn fileTreeFiles[i].Sort < fileTreeFiles[j].Sort})ret = append(ret, fileTreeFiles...)+ totals = len(ret)if maxListCount < len(ret) {ret = ret[:maxListCount]}@@ -414,6 +415,7 @@ func ListDocTree(boxID, path string, sortMode int, flashcard bool, maxListCountret = append(ret, docs...)}+ totals = len(ret)if maxListCount < len(ret) {ret = ret[:maxListCount]}