Medesol/dsh-kimi-formula1

dsh-kimi-formula

Kimi 官方 Formula 工具插件:提供网页搜索服务商及多种模型常用工具

AI 分析

核心用途是引入 Kimi 的 Formula 搜索接口及转换、计算、随机选择等实用工具。适合需要利用 Kimi 搜索和特定公式工具辅助决策的用户。

包名
dsh-kimi-formula
版本
0.1.0
许可证
MIT
最近更新
2026年8月31日

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗

Configuration

All fields are optional; the plugin installs a kimi-formula section under Settings → Plugins when the settings service is present. You can also set them in the patch row's config: block.

FieldDefaultDescription
apiKeyLiteral Kimi API key (prefer apiKeyEnv; never commit secrets)
apiKeyEnvMOONSHOTAI_CN_API_KEYCredential reference resolved per call. Matches what the Models page writes for moonshotai-cn. Set to MOONSHOT_API_KEY if you only exported that one
baseURLhttps://api.moonshot.cn/v1OpenAI-compatible base. Use https://api.moonshot.ai/v1 for the international platform; env override: KIMI_FORMULA_BASE_URL
searchProvidertrueRegister the kimi-official ctx.web search provider
searchModelkimi-k3Model driving the auxiliary search loop
searchReasoningEffortlowlow / high / maxlow keeps auxiliary searches cheap and fast
searchMaxTokens8192max_tokens per auxiliary request
searchMaxRounds8Chat-round cap (initial + tool continuations) per search
formulaToolstrueRegister the kimi_* tools
toolsTimeoutMs60000Cooperative per-call budget for the formula tools

web-search is billed per call (see pricing); the other official tools are free for a limited time. The built-in web_search tool has a 60s timeout in the base composition (tool-web.searchTimeoutMs) — raise it via a patch row if slow searches ever time out.