跳转到内容

Kimi 搜索

OpenClaw 支持 Kimi 作为 web_search 提供商,利用 Moonshot 网络搜索 生成带有引用的 AI 综合答案。

  1. Create a key

    Moonshot AI 获取 API 密钥。

  2. Store the key

    在 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。如果是网关安装,请将其放入 ~/.openclaw/.env 中。

Kimi 使用 Moonshot 网络搜索综合带有内联引用的答案, 类似于 Gemini 和 Grok 的有依据响应方法。

Kimi 搜索支持标准的 querycount 参数。 目前不支持特定于提供商的过滤器。