feat(config): wire serial tool into runtime and dashboard

This commit is contained in:
SiYue-ZO committed 2026-04-28 12:56:27 +08:00
1 parent 0f52076762
commit 2114e1a53f
8 files changed
+93

No files matched your search

+3
View File
@@ -128,6 +128,9 @@ func registerSharedTools(
if cfg.Tools.IsToolEnabled("spi") {
agent.Tools.Register(tools.NewSPITool())
}
if cfg.Tools.IsToolEnabled("serial") {
agent.Tools.Register(tools.NewSerialTool())
}
// Message tool
if cfg.Tools.IsToolEnabled("message") {