dsh-llm-compat-healer
LLM 兼容自愈插件:自动检测并修复中转/网关未正确声明模型能力导致的请求失败(thinking/reasoning 兼容),提供设置页 UI 配置全部 pi-ai 字段
How to install
dsh plugin add github:Semidia/dsh-llm-compat-healer About
dsh-llm-compat-healer LLM 兼容自愈插件:自动检测并修复「中转/网关未正确声明模型能力」导致的请求失败(reasoning_content、developer 角色等兼容问题),并为 llm-pi-ai 配置提供完整的设置页 UI 和中文错误摘要。 解决的问题 使用中转/聚合 API(如某公益中转、某聚合网关)时,如果 provider 的模型列表没有正确声明 reasoningEfforts / compat(如 thinkingFormat: deepseek、supportsDeveloperRole: false),DeepSeek 兼容接口可能会返回: {"message":"The reasoning_content in the thinking mode must be passed back to the API.","type":"invalid_request_error"} (400 错误)。本插件自动检测该错误并修复配置,无需手动编辑 settings.yaml。 三层机制 1. **agent/request-error 监听(自愈)**:命中规则表 → 标记问题 provider + 异步幂等补齐或校正目标兼容字段; 未命中 → 记录到「未匹配错误」队列供 UI 查看(学习机制)。 2. **agent/request 拦截(当…
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 0
- mo. downloads
- –
- Last push
- 2026-08-23
- Created
- 2026-08-21
Links
Basic safety check
- Findings
- curated 收录但无 npm 包/安装命令
- Sources
- curated:0xsline/awesome-deepseek-harness
Related plugins
claude-code-router
musistudio/claude-code-router
One local control plane for every AI agent: route across models, fuse new capabilities, orchestrate tools, and stay fully in control.
dsh-codex-subscription
WSL043/dsh-codex-subscription
Built-in ChatGPT OAuth provider for Codex models, selectable subscription web search, backend quota for standard Codex and Spark, and a DSH settings UI; no API key or separate Codex installation required.