moved fetch limit bytes in config file
This commit is contained in:
1 parent
a9a307584b
commit
b88e590c6c
5 files changed
+39
-27
No files matched your search
+1
-1
@@ -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())
|
||||
|
||||
Reference in new issue
Block a user