docs(xai): update default model references to grok-build-0.1

Reflect the default-model change in the xAI Grok OAuth guide, the web
search docs (EN + zh-Hans), and the web provider docstring. grok-4.3 is
kept in the model tables as the previous default; the Nous/OpenRouter
aggregator catalog still lists grok-4.3 and is left unchanged.
This commit is contained in:
Jaaneek
2026-06-16 11:50:17 -07:00
committed by Teknium
parent bbc842d31e
commit f4ef70f6fc
5 changed files with 19 additions and 17 deletions
@@ -22,7 +22,7 @@ Hermes Agent 通过基于浏览器的 OAuth 登录流程支持 xAI Grok,认证
| 显示名称 | xAI Grok OAuth (SuperGrok / X Premium+) |
| 认证类型 | 浏览器 OAuth 2.0 PKCE(回环回调) |
| 传输层 | xAI Responses API`codex_responses` |
| 默认模型 | `grok-4.3` |
| 默认模型 | `grok-build-0.1` |
| 端点 | `https://api.x.ai/v1` |
| 认证服务器 | `https://accounts.x.ai` |
| 需要环境变量 | 否(此 provider 不使用 `XAI_API_KEY` |
@@ -47,7 +47,7 @@ hermes model
# → 从 provider 列表中选择 "xAI Grok OAuth (SuperGrok / X Premium+)"
# → Hermes 在浏览器中打开 accounts.x.ai
# → 在浏览器中批准访问
# → 选择模型(grok-4.3 在列表顶部)
# → 选择模型(grok-build-0.1 在列表顶部)
# → 开始对话
hermes
@@ -114,13 +114,13 @@ hermes doctor
```bash
hermes model
# → 选择 "xAI Grok OAuth (SuperGrok / X Premium+)"
# → 从模型列表中选择(grok-4.3 固定在顶部)
# → 从模型列表中选择(grok-build-0.1 固定在顶部)
```
或直接设置模型:
```bash
hermes config set model.default grok-4.3
hermes config set model.default grok-build-0.1
hermes config set model.provider xai-oauth
```
@@ -130,7 +130,7 @@ hermes config set model.provider xai-oauth
```yaml
model:
default: grok-4.3
default: grok-build-0.1
provider: xai-oauth
base_url: https://api.x.ai/v1
```
@@ -174,7 +174,8 @@ hermes tools
| 工具 | 模型 | 说明 |
|------|-------|-------|
| 对话 | `grok-4.3` | 默认;通过 OAuth 登录时自动选择 |
| 对话 | `grok-build-0.1` | 默认;通过 OAuth 登录时自动选择 |
| 对话 | `grok-4.3` | 之前的默认 |
| 对话 | `grok-4.20-0309-reasoning` | 推理变体 |
| 对话 | `grok-4.20-0309-non-reasoning` | 非推理变体 |
| 对话 | `grok-4.20-multi-agent-0309` | 多 agent 变体 |
@@ -184,7 +185,7 @@ hermes tools
| 视频 | `grok-imagine-video-1.5-preview` | 图像转视频;日期别名 `grok-imagine-video-1.5-2026-05-30` |
| TTS | (默认音色) | xAI `/v1/tts` 端点 |
对话模型目录从磁盘上的 `models.dev` 缓存实时获取;缓存刷新后,新的 xAI 模型会自动出现。`grok-4.3` 始终固定在列表顶部。
对话模型目录从磁盘上的 `models.dev` 缓存实时获取;缓存刷新后,新的 xAI 模型会自动出现。`grok-build-0.1` 始终固定在列表顶部。
## 环境变量
@@ -305,7 +305,7 @@ web:
web:
backend: "xai"
xai:
model: grok-4.3 # web_search 所需的推理模型(默认)
model: grok-build-0.1 # web_search 所需的推理模型(默认)
allowed_domains: # 可选,最多 5 个——与 excluded_domains 互斥
- arxiv.org
excluded_domains: # 可选,最多 5 个