Repository navigation
Releases
Releases · AmmarByFar/dsh-trustedrouter
v0.1.0
First release.
- Adds TrustedRouter's
providerobject to POSTs under configured gateways (defaulthttps://api.trustedrouter.com/v1). It mergesdefaultswith a per-model override frommodels, and a:suffixvariant falls back to its base model's override. - Settings → Models: a Privacy & routing section on each TrustedRouter card, to set each model's privacy floor, allowed and blocked providers, sort, billing and US-only. It lists the providers that qualify, from TrustedRouter's public model list.
- Plugins → TrustedRouter privacy: gateways, defaults, advanced defaults (
order,allow_fallbacks,max_price), per-model and raw body rules as JSON, and logging. - Config changes apply on the next request, with no restart.
- Fails closed: a gateway POST that needs a policy but can't be rewritten is refused.
- Optional
[trustedrouter]log lines on the dsh terminal. Request bodies are never logged. - Tested on dsh 0.2.0-rc.2 and 0.2.1-alpha.1.
Install: dsh web → Plugins → Add plugin → https://github.com/AmmarByFar/dsh-trustedrouter#v0.1.0, or dsh plugin --profile web add github:AmmarByFar/dsh-trustedrouter#v0.1.0. See the README.