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会话卡死的用户。

패키지
dsh-messages-sanitizer
호환성
미검증
Harness peer 범위
^0.1.1-rc.2 || ^0.1.2-rc.1
Cordis peer 범위
^4.0.1
버전
0.1.1
라이선스
MIT
최근 업데이트
2026. 9. 4.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Leeminjing/dsh-messages-sanitizer

配置

键类型默认说明
enabledbooleantrue总开关

停用方式:删除 cordis.patch.yml 中的插入行,或改为:

- insert:
    - id: messages-sanitizer
      name: 'dsh-messages-sanitizer'
      disabled: true