dsh-tool-call-guard
在 wire 层中性化 arguments 为非法 JSON 的 tool call,避免一次模型畸形输出让 session 在严格 OpenAI 兼容服务端上永久 400。
Neutralize tool calls with invalid JSON arguments on the wire so one malformed model generation cannot brick a session against strict OpenAI-compatible servers.
怎么安装
dsh plugin add dsh-tool-call-guard 简介
dsh-tool-call-guard English | 中文 Neutralize tool calls with invalid JSON **arguments** before they reach the wire — so one malformed model generation cannot brick an entire session. sh dsh plugin add dsh-tool-call-guard Why Some models occasionally emit a tool call whose arguments string is not valid JSON — most often unescaped inner quotes: json {"queries": [""The Idiots" trailer youtube official"]} Strict OpenAI-compatible servers (vLLM and friends) are **asymmetric about this**: **Streaming generation path** — lenient. The malformed call streams through, the harness persists it into the app…
推荐参考
信息
- 协议
- MIT
- 语言
- JavaScript
- GitHub 星标
- 0
- 月下载
- 336
- 最近更新
- 2026-08-31
- 创建于
- 2026-08-30
基础安全检查
- 检查结果
- 无
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- dsh-plugin
同类推荐
DSH-EasyRewrite
Renzic-Stone/DSH-EasyRewrite
在 dsh web 中内联编辑与撤回自己的消息——惰性、无痕,带版本翻页器与会话级草稿持久化。
dsh-web
zhu1090093659/dsh-web-ui/tree/main/packages/dsh-chat-recovery
对话恢复插件:编辑最近一轮已结束的用户消息、显式重试失败轮次;两条路径都走 session fork 分支,原会话不被改动。
dsh-nested-followups
sluminositys/dsh-nested-followups
从任意层级的已完成回答持续创建隔离分支,主会话始终不受影响。
dsh-session-sync
PerryLink/dsh-session-sync
DeepSeek Harness 的跨设备会话同步:经 git 在多机之间同步会话与设置。