OpenClaw 支援 Kimi 作為Documentation Index
Fetch the complete documentation index at: https://docs.openclaw.ai/llms.txt
Use this file to discover all available pages before exploring further.
web_search 提供者,使用 Moonshot 網頁搜尋產生附有引用來源的 AI 綜合答案。
取得 API 金鑰
建立金鑰
從 Moonshot AI 取得 API 金鑰。
openclaw onboard 或 openclaw configure --section web 期間選擇 Kimi 時,OpenClaw 也可以詢問:
- Moonshot API 區域:
https://api.moonshot.ai/v1https://api.moonshot.cn/v1
- 預設 Kimi 網頁搜尋模型(預設為
kimi-k2.6)
設定
models.providers.moonshot.baseUrl:https://api.moonshot.cn/v1),當省略 tools.web.search.kimi.baseUrl 時,OpenClaw 會將同一個主機重用於 Kimi web_search,因此來自 platform.moonshot.cn 的金鑰不會誤打到國際端點(通常會傳回 HTTP 401)。當你需要不同的搜尋基底 URL 時,請使用 tools.web.search.kimi.baseUrl 覆寫。
**環境替代方案:**在 Gateway 環境中設定 KIMI_API_KEY 或 MOONSHOT_API_KEY。若是 Gateway 安裝,請將其放在 ~/.openclaw/.env。
如果省略 baseUrl,OpenClaw 預設為 https://api.moonshot.ai/v1。
如果省略 model,OpenClaw 預設為 kimi-k2.6。
運作方式
Kimi 使用 Moonshot 網頁搜尋產生附有行內引用來源的綜合答案,類似 Gemini 與 Grok 的有依據回應方法。支援的參數
Kimi 搜尋支援query。
count 會為了共用 web_search 相容性而被接受,但 Kimi 仍會傳回一個附有引用來源的綜合答案,而不是 N 筆結果清單。
目前不支援提供者專屬篩選條件。
相關
- 網頁搜尋概觀 — 所有提供者與自動偵測
- Moonshot AI — Moonshot 模型 + Kimi Coding 提供者文件
- Gemini Search — 透過 Google 提供依據的 AI 綜合答案
- Grok Search — 透過 xAI 提供依據的 AI 綜合答案