content-exists-risk 2
Content-moderation rescue for dsh: a provider's content moderation (DeepSeek HTTP 400 'Content Exists Risk' / INVALID_REQUEST) rejects an entire request, and because the loop re-derives the whole conversation from the session log on every turn, one stored
dsh plugin add @argszero/cordis-plugin-content-exists-risk敏感字符自动替换:按用户维护的 YAML 屏蔽表(全局 / 按 Provider ID / 模型,默认 $DSH_HOME/sensitive-blocklist.yaml)在内容进入会话上下文前替换命中字符,规避 DeepSeek 官方 Content Exists Risk 400;出网前还会把字符串里的孤立代理项修成 U+FFFD(否则 provider 会把整条请求判成非法 JSON)。兼容 DSH 0.2.0-rc.x
dsh plugin add dsh-sensitive-replace