moved fetch limit bytes in config file

This commit is contained in:
afjcjsbx committed 2026-02-28 13:34:33 +01:00
1 parent a9a307584b
commit b88e590c6c
5 files changed
+39 -27

No files matched your search

+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())