xiaohai-78/dsh-request-params

Add your own parameters to every model request dsh sends — provider routing, fallback models, reasoning effort, gateway headers — configured on a page with a preview.

Rules are built on a page and applied to outgoing requests, with fields like provider preference, sort order, fallback chain and reasoning effort set visually rather than in code. Because the preview is rendered from the request that will actually be sent, the difference between intent and outcome is small. This is the plugin that makes a gateway's advanced features usable from dsh without waiting for adapter support.

Models & Providers ★ 0
View on GitHub ↗

Install

dsh plugin --profile web add dsh-request-params

The npm line from the README (dsh-request-params 0.1.0). The README explains the gap: dsh only sends fields its model adapters know about, while gateways such as OpenRouter accept much more — provider order and fallbacks, a reasoning budget, a session id for cache affinity — and existing plugins cover only slices of that.

Compatibility

Deliberately general rather than a single-purpose toggle: any JSON field a gateway accepts can be added, so it does not need a new release when a provider invents a parameter. The preview shows the exact change before anything is sent, which matters because a bad routing rule silently changes which provider answers. After the fact you can see what the gateway replied, so a rejected field is visible instead of being guessed at.

Details

Alternatives

hi-fangj/dsh-models-radar · itongxiaojun/dsh-openrouter-free-models · AmmarByFar/dsh-trustedrouter

More plugins in Models & Providers

Browse more in Models & Providers

Guides for Models & Providers plugins