docs: update web search configuration instruction

This commit is contained in:
Xubin Ren
2026-03-13 05:54:51 +00:00
parent 3040102c02
commit 65cbd7eb78

View File

@@ -964,6 +964,12 @@ That's it! Environment variables, model prefixing, config matching, and `nanobot
### Web Search
> [!TIP]
> Use `proxy` in `tools.web` to route all web requests (search + fetch) through a proxy:
> ```json
> { "tools": { "web": { "proxy": "http://127.0.0.1:7890" } } }
> ```
nanobot supports multiple web search providers. Configure in `~/.nanobot/config.json` under `tools.web.search`.
| Provider | Config fields | Env var fallback | Free |
@@ -1052,12 +1058,6 @@ When credentials are missing, nanobot automatically falls back to DuckDuckGo.
| `baseUrl` | string | `""` | Base URL for SearXNG |
| `maxResults` | integer | `5` | Results per search (110) |
> [!TIP]
> Use `proxy` in `tools.web` to route all web requests (search + fetch) through a proxy:
> ```json
> { "tools": { "web": { "proxy": "http://127.0.0.1:7890" } } }
> ```
### MCP (Model Context Protocol)
> [!TIP]