Skip to content

Kimi 搜尋

OpenClaw 支援 Kimi 作為 web_search 提供者,使用 Moonshot 網路搜尋 來產生具有引用的 AI 綜合回答。

  1. 建立金鑰

    Moonshot AI 取得 API 金鑰。

  2. 儲存金鑰

    在 Gateway 環境中設定 KIMI_API_KEYMOONSHOT_API_KEY,或 透過以下方式設定:

    Terminal window
    openclaw configure --section web
{
plugins: {
entries: {
moonshot: {
config: {
webSearch: {
apiKey: "sk-...", // optional if KIMI_API_KEY or MOONSHOT_API_KEY is set
},
},
},
},
},
tools: {
web: {
search: {
provider: "kimi",
},
},
},
}

環境變數替代方案: 在 Gateway 環境中設定 KIMI_API_KEYMOONSHOT_API_KEY。對於 gateway 安裝,請將其放入 ~/.openclaw/.env 中。

Kimi 使用 Moonshot 網路搜尋來綜合具有內嵌引用的回答, 類似於 Gemini 和 Grok 的基於事實的回應方式。

Kimi 搜尋支援標準的 querycount 參數。 目前不支援提供者特定的過濾器。