From 0d6970a2d3f9c19756c95909960d5c33f627fb31 Mon Sep 17 00:00:00 2001 From: AskaEth Date: Fri, 26 Jun 2026 12:57:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20halo=5Fpublish=20=E6=8F=92=E4=BB=B6=20?= =?UTF-8?q?=E2=80=94=20runtime.Caller=20=E8=A7=A3=E6=9E=90config.json?= =?UTF-8?q?=E7=BB=9D=E5=AF=B9=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/ai-core/cmd/plugins_gen.go | 4 ++++ backend/ai-core/go.mod | 2 ++ 2 files changed, 6 insertions(+) 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 )