Medesol/dsh-kimi-formula1

dsh-kimi-formula

Kimi (Moonshot AI) official Formula tools for DeepSeek Harness: a ctx.web search provider backed by the Formula API chat loop, plus model-facing tools for the remaining official formulas (convert, rethink, random-choice, mew, memory, excel, date, base64, fetch).

AI Analysis

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

Package
dsh-kimi-formula
Version
0.1.0
License
MIT
Last updated
Aug 31, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full 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.