Leeminjing/dsh-messages-sanitizer ↗★ 3
dsh-messages-sanitizer
DeepSeek Harness plugin: auto-repairs an invalid messages array (orphaned tool_calls / tool messages) to stop 400 INVALID_REQUEST session lock-ups. 适合经常遇到400请求错误导致DSH会话卡死的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Leeminjing/dsh-messages-sanitizerREADME
Read the full README ↗配置
| 键 | 类型 | 默认 | 说明 |
|---|---|---|---|
enabled | boolean | true | 总开关 |
停用方式:删除 cordis.patch.yml 中的插入行,或改为:
- insert:
- id: messages-sanitizer
name: 'dsh-messages-sanitizer'
disabled: true