Skip to content

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

:art: Filter removed plugin

Daniel8d2bf65d1a7c
diff --git a/kernel/model/plugin.go b/kernel/model/plugin.go
index e0f64bdd85..1a6635de60 100644
--- a/kernel/model/plugin.go
+++ b/kernel/model/plugin.go
@@ -88,6 +88,11 @@ func LoadPetals(frontend string) (ret []*Petal) {
petals := getPetals()
for _, petal := range petals {
+ installPath := filepath.Join(util.DataDir, "plugins", petal.Name)
+ if !filelock.IsExist(installPath) {
+ continue
+ }
+
_, petal.DisplayName, petal.Incompatible = bazaar.ParseInstalledPlugin(petal.Name, frontend)
if !petal.Enabled || petal.Incompatible {
continue