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 분석

核心用途是引入 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.