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
- 月下载
- 0
- 最近更新
- 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-maze
lamost423/dsh-maze
执行迷宫:把智能体真实的执行过程——主干推进、失败或扑空的支路、折返、请求重试与子代理分支——画在同一根墙钟时间轴上;泳道下方是与它共用时间轴的三条数据轨道(工具调用密度、Token 脉冲、上下文压力),再下方是确定性的执行分析面板(工具结果矩阵、失败恢复链、耗时分布);可在会话页签里实时生长,也可上传最多 5 个 session log 做同轴对比。
dsh-web
zhu1090093659/dsh-web-ui/tree/main/packages/dsh-chat-recovery
对话恢复插件:编辑最近一轮已结束的用户消息、显式重试失败轮次;两条路径都走 session fork 分支,原会话不被改动。