Leeminjing/dsh-messages-sanitizer

Plugin ⭐ 1 MIT codingtools

> 🔧 你在 DeepSeek Harness 里创建 / 加载插件,对话崩了吗?本插件专治这个。 > > 开发或加载本地插件时,一次工具调度崩溃(Cannot read properties of undefined > (reading 'prepare'))就会在会话里留下孤儿 toolcalls,之后每一轮都被 > 400 INVALIDREQUEST 拒绝、重试无效、会话卡死。本插件自动把 messages 数组修回 > 合法,让对话继续,不再卡死。

catalog description:DeepSeek Harness plugin: auto-repairs invalid tool_calls/tool message pairing in the messages array to stop 400 INVALID_REQUEST session crashes.

Install

💥 Before                                ✅ After (安装本插件后)
插件崩溃                                  插件崩溃
   ↓                                        ↓
留下孤儿 tool_calls                       messages 自动修复
   ↓                                        ↓
400 INVALID_REQUEST 死循环                对话继续
   ↓
对话卡死

Add Leeminjing/dsh-messages-sanitizer to your DSH config (web profile) to enable.

README

Expand full README Collapse

README is empty.