dsh-model-gate
Single-model disable gate: hides denied models from every discovery path, blocks dispatch with an in-protocol error chunk, and exposes a settings-section UI for the denylist
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:OPaimon/dsh-model-gate说明文档
阅读完整 README ↗Usage
Edit the denylist section in ~/.dsh/settings.yaml - changes hot-apply, no
restart:
llm-model-gate:
disabledProviders:
- openrouter
disabledModels:
- "*/kimi-k2.7-code" # deny this model id on every provider
- "token-rhythm/glm-5" # deny one exact provider/model pair
Matching is exact and case-sensitive. A disabled provider route hides all of
its models. Model ids listed with a * + slash prefix are denied on every
provider, including dedicated routes (e.g. DeepSeek direct) that accept
explicit directory-external ids.