mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 17:50:45 +00:00
fix(web-search): support Exa baseUrl
This commit is contained in:
@@ -38,6 +38,7 @@ extraction (highlights, text, summaries).
|
||||
config: {
|
||||
webSearch: {
|
||||
apiKey: "exa-...", // optional if EXA_API_KEY is set
|
||||
baseUrl: "https://api.exa.ai", // optional; OpenClaw appends /search
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -56,6 +57,14 @@ extraction (highlights, text, summaries).
|
||||
**Environment alternative:** set `EXA_API_KEY` in the Gateway environment.
|
||||
For a gateway install, put it in `~/.openclaw/.env`.
|
||||
|
||||
## Base URL override
|
||||
|
||||
Set `plugins.entries.exa.config.webSearch.baseUrl` when Exa search requests
|
||||
should go through a compatible proxy or alternate Exa endpoint. OpenClaw
|
||||
normalizes bare hosts by prepending `https://` and appends `/search` unless the
|
||||
path already ends there. The resolved endpoint is included in the search cache
|
||||
key, so results from different Exa endpoints are not shared.
|
||||
|
||||
## Tool parameters
|
||||
|
||||
<ParamField path="query" type="string" required>
|
||||
|
||||
Reference in New Issue
Block a user