diff --git a/backend/ai-core/cmd/plugins_gen.go b/backend/ai-core/cmd/plugins_gen.go index f83b3eb..988b48d 100644 --- a/backend/ai-core/cmd/plugins_gen.go +++ b/backend/ai-core/cmd/plugins_gen.go @@ -11,6 +11,7 @@ import ( randompkg "git.yeij.top/AskaEth/Cyrene-Plugins/random" markdownpkg "git.yeij.top/AskaEth/Cyrene-Plugins/markdown" json_opspkg "git.yeij.top/AskaEth/Cyrene-Plugins/json" + halo_publishpkg "git.yeij.top/AskaEth/Cyrene-Plugins/halo_publish" ) func registerPlugins(registry interface{ Register(plgSDK.Tool) error }) { @@ -35,4 +36,7 @@ func registerPlugins(registry interface{ Register(plgSDK.Tool) error }) { for _, t := range (&json_opspkg.JSONPlugin{}).Tools() { registry.Register(t) } + for _, t := range (&halo_publishpkg.HaloPublishPlugin{}).Tools() { + registry.Register(t) + } } diff --git a/backend/ai-core/go.mod b/backend/ai-core/go.mod index 1697bda..913ed50 100644 --- a/backend/ai-core/go.mod +++ b/backend/ai-core/go.mod @@ -9,6 +9,7 @@ require ( git.yeij.top/AskaEth/Cyrene/pkg/dashscope v0.0.0 git.yeij.top/AskaEth/Cyrene/pkg/logger v0.0.0 git.yeij.top/AskaEth/Cyrene-Plugins v0.0.0 + git.yeij.top/AskaEth/Cyrene-Plugins/halo_publish v0.0.0 gopkg.in/yaml.v3 v3.0.1 ) @@ -17,4 +18,5 @@ replace ( git.yeij.top/AskaEth/Cyrene/pkg/dashscope => ../pkg/dashscope git.yeij.top/AskaEth/Cyrene/pkg/logger => ../pkg/logger git.yeij.top/AskaEth/Cyrene-Plugins => ../cyrene-plugins + git.yeij.top/AskaEth/Cyrene-Plugins/halo_publish => ../plugins/halo_publish )