Skip to content

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

:art: Distinguishing between a referenced definition block that does not exist or one that is not indexed https://github.com/siyuan-note/siyuan/issues/16850

Danielfeaa7938fff8
diff --git a/kernel/api/block.go b/kernel/api/block.go
index 45e1637307..d7d7bedbbe 100644
--- a/kernel/api/block.go
+++ b/kernel/api/block.go
@@ -667,7 +667,7 @@ func getBlockInfo(c *gin.Context) {
return
} else if errors.Is(err, model.ErrBoxUnindexed) {
ret.Code = -1
- ret.Msg = ""
+ ret.Msg = "" // 加载的时候已经推送过提示了,这里不需要再提示
return
}