feat(moonshot): default to Kimi K2.6 with K2.6-only thinking.keep support (#68816)

Merged via squash.

Prepared head SHA: ed54e02842
Co-authored-by: aniaan <40813941+aniaan@users.noreply.github.com>
Co-authored-by: odysseus0 <8635094+odysseus0@users.noreply.github.com>
Reviewed-by: @odysseus0
This commit is contained in:
aniaan
2026-04-21 09:04:49 +08:00
committed by GitHub
parent a112903802
commit c8e5150fd4
11 changed files with 229 additions and 25 deletions

View File

@@ -34,7 +34,7 @@ When you choose **Kimi** during `openclaw onboard` or
- the Moonshot API region:
- `https://api.moonshot.ai/v1`
- `https://api.moonshot.cn/v1`
- the default Kimi web-search model (defaults to `kimi-k2.5`)
- the default Kimi web-search model (defaults to `kimi-k2.6`)
## Config
@@ -47,7 +47,7 @@ When you choose **Kimi** during `openclaw onboard` or
webSearch: {
apiKey: "sk-...", // optional if KIMI_API_KEY or MOONSHOT_API_KEY is set
baseUrl: "https://api.moonshot.ai/v1",
model: "kimi-k2.5",
model: "kimi-k2.6",
},
},
},
@@ -74,7 +74,7 @@ with `tools.web.search.kimi.baseUrl` when you need a different search base URL.
Gateway environment. For a gateway install, put it in `~/.openclaw/.env`.
If you omit `baseUrl`, OpenClaw defaults to `https://api.moonshot.ai/v1`.
If you omit `model`, OpenClaw defaults to `kimi-k2.5`.
If you omit `model`, OpenClaw defaults to `kimi-k2.6`.
## How it works

View File

@@ -220,7 +220,7 @@ When you choose **Kimi** during `openclaw onboard` or
`openclaw configure --section web`, OpenClaw can also ask for:
- the Moonshot API region (`https://api.moonshot.ai/v1` or `https://api.moonshot.cn/v1`)
- the default Kimi web-search model (defaults to `kimi-k2.5`)
- the default Kimi web-search model (defaults to `kimi-k2.6`)
For `x_search`, configure `plugins.entries.xai.config.xSearch.*`. It uses the
same `XAI_API_KEY` fallback as Grok web search.