dsh-request-params
给 dsh 发出的模型请求加上自己的参数:OpenRouter 供应商路由和备用模型、思考强度、采样参数与自定义请求体字段、请求头,OpenRouter 和其他网关都能用。参数按 dsh 已配置的渠道管理;实时预览显示每个请求会多出什么,请求记录显示实际发出了什么、网关回了什么。
- 形态
- Plugin 插件
- 安装
- npm 包安装
- 需要密钥
- 是
- 近月下载
- 1,685
- 最近推送
- 3 天前更新
项目说明
From README
Request Parameters (dsh-request-params) English 中文 Add your own parameters to every model request dsh sends.OpenRouter provider routing, fallback models, reasoning effort, sampling extras, gateway headers, or any JSON field a gateway accepts.
Pick one of the channels dsh already has, add parameters on a page instead of in code, see exactly what each request will carry before anything is sent, and see what the gateway answered afterwards.Why dsh sends the fields its model adapters know about.
Gateways such as OpenRouter take more: which providers to use and in what order, fallback models, a reasoning budget, a session ID for cache affinity.dsh does not send OpenRouter's provider routing preferences.
Plugins exist for single slices of this (provider order and quantization, for example); this one is general.The same page handles any field or header for any gateway, with a ready form for
Original description
Add your own parameters to the model requests dsh sends: OpenRouter provider routing, fallback models, reasoning, sampling and custom fields, and headers, for any gateway.
安装方式
npm 包安装 · 需要额外配置密钥
dsh plugin --profile web add dsh-request-paramsdsh plugin --profile web remove dsh-request-params安全能力
静态扫描源码得到的权限画像 —— 回答的是「它要动什么」,而不是「它好不好」
- 写入文件
- 读取文件
- 访问网络
- 读取环境变量
未发现已知红线(明文传输、安装期执行代码、凭据外传等)。
能力与红线来自 awesome-dsh-plugin 的静态扫描结果(CC0 公有领域),本站未逐行复核源码; 它只覆盖能被静态识别的模式,不等于安全审计结论。
为什么是这个分数
近 4 天仍在推送;README 给出了可直接复制的安装命令;运行前需要准备 API Key 或环境变量;近月 npm 下载 1685 次,star 不多但真在被使用。
- 维护活跃
- 96
- 实用度
- 78
- 生态热度
- 65
- 上手便捷
- 74
- 信号质量
- 100
- 数据置信度
- 100%
相关插件
dsh-magpie-connector
prgrmrwy/dsh-magpie-connector
把自托管 Magpie 网关按上游归属接入为多个 provider route,原版模型选择器即显示 Magpie (Claude)、Magpie (Codex) 等分组;支持多线路自动切换、只读用量卡片、逐模型默认 effort、priority 档模型的会话级快速切换和可选 Cloudflare Access。
dsh-openrouter-plus
GnaneshKunal/dsh-openrouter-plus
按会话切换 OpenRouter 路由:本地回环中继把 `service_tier`、`provider.sort` 与 `:floor` 变体写进每个请求,九个预设从输入框的按钮里选,每个预设另有固定的基址供整条路由使用。
tokenbank
wink-run/tokenbank
Token Bank — the local LLM gateway that sits between your AI agents and every provider. Know where tokens go · Spend less with smart routing to Ollama, Groq, GitHub Models · Earn by sharing idle quota on a community P2P network. One-click onboarding for Cursor, Claude Code, Codex CLI, Gemini CLI — no agent changes. Full trace, seamless model swap