工具调度崩溃后自动修复 messages 数组(孤儿 tool_calls / tool 消息),防止 400 INVALID_REQUEST 会话卡死。
dsh plugin --profile web add dsh-messages-sanitizer
这个插件还没测过。提交测试 →
GitHub · Homepage · npm