























@@ -37,6 +37,8 @@ OpenClaw uses the xAI Responses API as the bundled xAI transport. The same
3737and remote `code_execution`.
3838If you store an xAI key under `plugins.entries.xai.config.webSearch.apiKey`,
3939the bundled xAI model provider reuses that key as a fallback too.
40+Set `plugins.entries.xai.config.webSearch.baseUrl` to route Grok `web_search`
41+and, by default, `x_search` through an operator xAI Responses proxy.
4042`code_execution` tuning lives under `plugins.entries.xai.config.codeExecution`.
4143</Note>
4244@@ -343,6 +345,7 @@ Legacy aliases still normalize to the canonical bundled ids:
343345| ------------------ | ------- | ------------------ | ------------------------------------ |
344346| `enabled` | boolean | — | Enable or disable x_search |
345347| `model` | string | `grok-4-1-fast` | Model used for x_search requests |
348+| `baseUrl` | string | — | xAI Responses base URL override |
346349| `inlineCitations` | boolean | — | Include inline citations in results |
347350| `maxTurns` | number | — | Maximum conversation turns |
348351| `timeoutSeconds` | number | — | Request timeout in seconds |
@@ -357,6 +360,7 @@ Legacy aliases still normalize to the canonical bundled ids:
357360 xSearch: {
358361 enabled: true,
359362 model: "grok-4-1-fast",
363+ baseUrl: "https://api.x.ai/v1",
360364 inlineCitations: true,
361365 },
362366 },
@@ -429,6 +433,9 @@ Legacy aliases still normalize to the canonical bundled ids:
429433- `web_search`, `x_search`, and `code_execution` are exposed as OpenClaw
430434 tools. OpenClaw enables the specific xAI built-in it needs inside each tool
431435 request instead of attaching all native tools to every chat turn.
436+- Grok `web_search` reads `plugins.entries.xai.config.webSearch.baseUrl`.
437+ `x_search` reads `plugins.entries.xai.config.xSearch.baseUrl`, then
438+ falls back to the Grok web-search base URL.
432439- `x_search` and `code_execution` are owned by the bundled xAI plugin rather
433440 than hardcoded into the core model runtime.
434441- `code_execution` is remote xAI sandbox execution, not local
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。