fixed conflicts

This commit is contained in:
afjcjsbx
2026-03-01 23:44:21 +01:00
parent b86bf5b7ea
commit e0667304d1
3 changed files with 64 additions and 26 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ func registerSharedTools(
} else if searchTool != nil {
agent.Tools.Register(searchTool)
}
fetchTool, err := tools.NewWebFetchToolWithProxy(50000, cfg.Tools.Web.Proxy)
fetchTool, err := tools.NewWebFetchToolWithProxy(50000, cfg.Tools.Web.Proxy, cfg.Tools.Web.FetchLimitBytes)
if err != nil {
logger.ErrorCF("agent", "Failed to create web fetch tool", map[string]any{"error": err.Error()})
} else {