Messages Sanitizer · DeepSeek Harness plugin
Leeminjing/dsh-messages-sanitizer · productivity
DeepSeek Harness Plugin: Auto-recover invalid tool call/tool message pairing in the message array to prevent 400 INVALIDREQUEST sessions from crashing.
★ 4GitHub stars
0Forks
2026-09-04Last updated
JavaScriptLanguage
MITLicense
Key features
- Rewrite emptied message to non-tool calls (distributed unresponsive call)
- Real Contaminated Log (orphan + expired repeat user message)
- Plugin is a zero-built pure ESM, which can be loaded directly by the Cordis loader
- Tool Message (no pre-title tool calls tool-result) and plain text user message
- Resume the excavated ansistant (tool calls, preserve the context of historical tools)
Install command
dsh plugin --profile web add github:Leeminjing/dsh-messages-sanitizer