ExSchwi/dsh-river-provider
A river.ai provider for DSH that handles what the stock OpenAI-compatible path ignores: several keys, per-account retry budgets and rotation.
The OpenAI-compatible provider path assumes one key and one budget. This plugin treats river.ai as a first-class provider: an account table where each row shows whether its key resolves, a retry budget per account, and rotation across accounts. Reasoning effort and context/output ceilings are settings rather than request-time guesswork, and an unsupported level is reported as a configuration error instead of being silently coerced. Images and model pricing are covered too. The practical gain is that a rate-limited or exhausted account costs a retry rather than a failed session, and the model you picked is the model that answers.
Install
dsh plugin --profile web add github:ExSchwi/dsh-river-provider#v0.2.0The README's install line with its release tag. The README stresses that --profile is required because dsh plugin forwards the remaining arguments to pnpm inside a profile and refuses to guess which one; the repository ships a prebuilt lib/, so installing needs no build step and pnpm never asks you to allowlist a build script.
Compatibility
The README requires DSH 0.2.1-rc.2. Configuration lives in Settings under Models → river (base URL, active account, context and output ceilings) and Settings → river.ai (the account table), with per-model reasoning effort and context floors set by id or glob.
Details
- Repo: ExSchwi/dsh-river-provider
- Category: Models & Providers
- Stars: 0
- Version: v0.2.0 (GitHub tag, as cited in the install line)
Alternatives
deskomor/dsh-sub-providers · RGarrido03/dsh-zed-provider · MoFeng2223/dsh-claude-provider