Leeminjing/dsh-messages-sanitizer0

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.

AI 분석

核心用途是解决 400 INVALID_REQUEST 导致的会话锁死问题。适合经常遇到工具调用链异常、需要自动修复消息历史的 DSH 用户。

패키지
dsh-messages-sanitizer
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 8. 15.

설치

$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