Skip to content

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

:art: 命名查询嵌入块类型持久化

Liang Ding745582b4e9b7
diff --git a/kernel/model/storage.go b/kernel/model/storage.go
index 9371c9f8e8..f9c16ad0c6 100644
--- a/kernel/model/storage.go
+++ b/kernel/model/storage.go
@@ -182,6 +182,7 @@ type CriterionTypes struct {
ListItem bool `json:"listItem"`
CodeBlock bool `json:"codeBlock"`
HtmlBlock bool `json:"htmlBlock"`
+ EmbedBlock bool `json:"embedBlock"`
}
var criteriaLock = sync.Mutex{}