Skip to content

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

:mute: logging

Liang Ding891541ad1b6c
diff --git a/kernel/sql/block_query.go b/kernel/sql/block_query.go
index b7d3da1ea1..186dae487f 100644
--- a/kernel/sql/block_query.go
+++ b/kernel/sql/block_query.go
@@ -478,7 +478,7 @@ func selectBlocksRawStmt(stmt string, limit int) (ret []*Block) {
errCount++
}
- if (confLimit && limit < count) || 2 < errCount {
+ if (confLimit && limit < count) || 1 < errCount {
break
}
}