feat(web-tools): add configurable User-Agent

Assisted-by: Jo'Zahir:Qwen3.6-35B-A3B
This commit is contained in:
Mizarka
2026-04-22 09:11:57 +00:00
parent 7c21349828
commit ec2f0ccfdb
5 changed files with 37 additions and 11 deletions
+1
View File
@@ -605,6 +605,7 @@ If you need to allow trusted private ranges such as Tailscale / CGNAT addresses,
|--------|------|---------|-------------|
| `enable` | boolean | `true` | Enable or disable all built-in web tools (`web_search` + `web_fetch`) |
| `proxy` | string or null | `null` | Proxy for all web requests, for example `http://127.0.0.1:7890` |
| `userAgent` | string or null | `null` | User agent header for all web requests. If null, a browser one will be used |
### `tools.web.search`