dsh-llm-mimo
Xiaomi MiMo v2.5 adapter for DeepSeek Harness LLM seam with thinking chain support
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 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
| Option | Type | Default | Description |
|---|---|---|---|
apiKeyEnv | string | MIMO_API_KEY | Credential reference (environment-variable name) for the API key |
baseURL | string | https://api.xiaomimimo.com/v1 | API endpoint base URL |
enableThinking | boolean | true | Whether thinking mode is enabled by default |
maxTokens | number | 256000 | Default per-request output token cap |
defaultContextWindow | number | 1000000 | Default context window size |
models | MiMoCatalogModel[] | V2.5, V2.5-Pro | Advisory model catalog |
streamIdleTimeoutMs | number | 300000 | Stream idle timeout (ms) |
retryPolicy | RetryPolicyConfig | — | Custom retry policy |