GuanxuJi/dsh-llm-mimo0

dsh-llm-mimo

Xiaomi MiMo v2.5 adapter for DeepSeek Harness LLM seam with thinking chain support

包名
dsh-llm-mimo
版本
0.1.0
许可证
MIT
最近更新
2026年8月17日

安装

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

Configuration

Set your MiMo API key:

export MIMO_API_KEY="your-api-key-here"

Or in .env file:

MIMO_API_KEY=your-api-key-here

Get your API key from MiMo Platform.

Usage

With DeepSeek Harness Web UI


### Programmatic usage

```typescript
import { Context } from '@deepseek-ai/cordis'
import llmMimo from 'dsh-llm-mimo'

const ctx = new Context()
ctx.plugin(llmMimo, {
  apiKeyEnv: 'MIMO_API_KEY',
  baseURL: 'https://api.xiaomimimo.com/v1',
  enableThinking: true,
})

Configuration Options

OptionTypeDefaultDescription
apiKeyEnvstringMIMO_API_KEYCredential reference (environment-variable name) for the API key
baseURLstringhttps://api.xiaomimimo.com/v1API endpoint base URL
enableThinkingbooleantrueWhether thinking mode is enabled by default
maxTokensnumber256000Default per-request output token cap
defaultContextWindownumber1000000Default context window size
modelsMiMoCatalogModel[]V2.5, V2.5-ProAdvisory model catalog
streamIdleTimeoutMsnumber300000Stream idle timeout (ms)
retryPolicyRetryPolicyConfigCustom retry policy