An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/pull/13241
Daniel52b3a1e8fa7d
diff --git a/kernel/model/file.go b/kernel/model/file.goindex 8f9c928892..909010e412 100644--- a/kernel/model/file.go+++ b/kernel/model/file.go@@ -711,14 +711,6 @@ func GetDoc(startID, endID, id string, index int, query string, queryTypes map[skeywords = append(keywords, inline.TextMarkTextContent)}}- images := n.ChildrenByType(ast.NodeImage)- for _, image := range images {- dest := image.ChildByType(ast.NodeLinkDest)- if nil != dest && util.ContainsSubStr(string(dest.Tokens), keywords) {- // 支持图片搜索定位 https://github.com/siyuan-note/siyuan/issues/13510- keywords = append(keywords, string(dest.Tokens))- }- }}if processVirtualRef(n, &unlinks, virtualBlockRefKeywords, refCount, luteEngine) {