mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-04-03 09:52:33 +00:00
docs: update web search configuration instruction
This commit is contained in:
parent
3040102c02
commit
65cbd7eb78
12
README.md
12
README.md
@ -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 (1–10) |
|
||||
|
||||
> [!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]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user