feat: implement parallel tool for concurrent task execution using goroutines

This commit is contained in:
DBT
2026-02-12 05:30:55 +00:00
parent e908826a71
commit 11c38f8320
2 changed files with 105 additions and 0 deletions

View File

@@ -79,6 +79,9 @@ func NewAgentLoop(cfg *config.Config, msgBus *bus.MessageBus, provider providers
memorySearchTool := tools.NewMemorySearchTool(workspace)
toolsRegistry.Register(memorySearchTool)
// Register parallel execution tool (leveraging Go's concurrency)
toolsRegistry.Register(tools.NewParallelTool(toolsRegistry))
// Register camera tool
toolsRegistry.Register(tools.NewCameraTool(workspace))
// Register system info tool