mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-26 16:41:49 +00:00
docs(xai): clarify x_search onboarding flow
This commit is contained in:
@@ -15,6 +15,11 @@ Note: The **Model** section now includes a multi-select for the
|
||||
Tip: `openclaw config` without a subcommand opens the same wizard. Use
|
||||
`openclaw config get|set|unset` for non-interactive edits.
|
||||
|
||||
For web search, `openclaw configure --section web` lets you choose a provider
|
||||
and configure its credentials. If you choose **Grok**, configure can also show
|
||||
a separate follow-up step to enable `x_search` with the same `XAI_API_KEY` and
|
||||
pick an `x_search` model. Other web-search providers do not show that step.
|
||||
|
||||
Related:
|
||||
|
||||
- Gateway configuration reference: [Configuration](/gateway/configuration)
|
||||
@@ -32,5 +37,6 @@ Notes:
|
||||
|
||||
```bash
|
||||
openclaw configure
|
||||
openclaw configure --section web
|
||||
openclaw configure --section model --section channels
|
||||
```
|
||||
|
||||
@@ -140,6 +140,9 @@ Flow notes:
|
||||
|
||||
- `quickstart`: minimal prompts, auto-generates a gateway token.
|
||||
- `manual`: full prompts for port/bind/auth (alias of `advanced`).
|
||||
- In the web-search step, choosing **Grok** can trigger a separate follow-up
|
||||
prompt to enable `x_search` with the same `XAI_API_KEY` and optionally pick
|
||||
an `x_search` model. Other web-search providers do not show that prompt.
|
||||
- Local onboarding DM scope behavior: [CLI Setup Reference](/start/wizard-cli-reference#outputs-and-internals).
|
||||
- Fastest first chat: `openclaw dashboard` (Control UI, no channel setup).
|
||||
- Custom Provider: connect any OpenAI or Anthropic compatible endpoint,
|
||||
|
||||
@@ -21,6 +21,22 @@ For post-level X metrics such as reposts, replies, bookmarks, or views, prefer
|
||||
`x_search` with the exact post URL or status ID instead of a broad search
|
||||
query.
|
||||
|
||||
## Onboarding and configure
|
||||
|
||||
If you choose **Grok** during:
|
||||
|
||||
- `openclaw onboard`
|
||||
- `openclaw configure --section web`
|
||||
|
||||
OpenClaw can show a separate follow-up step to enable `x_search` with the same
|
||||
`XAI_API_KEY`. That follow-up:
|
||||
|
||||
- only appears after you choose Grok for `web_search`
|
||||
- is not a separate top-level web-search provider choice
|
||||
- can optionally set the `x_search` model during the same flow
|
||||
|
||||
If you skip it, you can enable or change `x_search` later in config.
|
||||
|
||||
## Get an API key
|
||||
|
||||
<Steps>
|
||||
|
||||
@@ -151,6 +151,9 @@ For `x_search`, configure `tools.web.x_search.*` directly. It uses the same
|
||||
`XAI_API_KEY` fallback as Grok web search.
|
||||
When you choose Grok during `openclaw onboard` or `openclaw configure --section web`,
|
||||
OpenClaw can also offer optional `x_search` setup with the same key.
|
||||
This is a separate follow-up step inside the Grok path, not a separate top-level
|
||||
web-search provider choice. If you pick another provider, OpenClaw does not
|
||||
show the `x_search` prompt.
|
||||
|
||||
### Storing API keys
|
||||
|
||||
|
||||
Reference in New Issue
Block a user