Skip to content

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

:art: Add plugin incompatible logging

Daniel4fdaae289268
diff --git a/kernel/model/plugin.go b/kernel/model/plugin.go
index bb4b0c2b11..e0f64bdd85 100644
--- a/kernel/model/plugin.go
+++ b/kernel/model/plugin.go
@@ -63,6 +63,7 @@ func SetPetalEnabled(name string, enabled bool, frontend string) (ret *Petal, er
if incompatible {
err = fmt.Errorf(Conf.Language(205))
+ logging.LogInfof("plugin [%s] is incompatible [%s]", name, frontend)
return
}