mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-04-15 06:17:28 +08:00
feat: implement parallel tool for concurrent task execution using goroutines
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user