feat: Support modifying the command filtering list of the exec tool (#410)

This commit is contained in:
lxowalle authored and GitHub committed 2026-02-18 19:31:15 +08:00
1 parent b77a40315e
commit eda6e37332
6 files changed
+215 -50

No files matched your search

+1 -1
View File
@@ -71,7 +71,7 @@ func createToolRegistry(workspace string, restrict bool, cfg *config.Config, msg
registry.Register(tools.NewAppendFileTool(workspace, restrict))
// Shell execution
registry.Register(tools.NewExecTool(workspace, restrict))
registry.Register(tools.NewExecToolWithConfig(workspace, restrict, cfg))
if searchTool := tools.NewWebSearchTool(tools.WebSearchToolOptions{
BraveAPIKey: cfg.Tools.Web.Brave.APIKey,