moved fetch limit bytes in config file

This commit is contained in:
afjcjsbx
2026-02-28 13:34:33 +01:00
parent a9a307584b
commit b88e590c6c
5 changed files with 39 additions and 27 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ func registerSharedTools(
}); searchTool != nil {
agent.Tools.Register(searchTool)
}
agent.Tools.Register(tools.NewWebFetchToolWithProxy(50000, cfg.Tools.Web.Proxy))
agent.Tools.Register(tools.NewWebFetchToolWithProxy(50000, cfg.Tools.Web.Proxy, cfg.Tools.Web.FetchLimitBytes))
// Hardware tools (I2C, SPI) - Linux only, returns error on other platforms
agent.Tools.Register(tools.NewI2CTool())