OPaimon/dsh-model-gate0

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

AI 分析

核心用途是提供模型和提供商的禁用黑名单管理。适合需要精细化控制可用模型、防止误调用高资费或特定模型的DSH管理员。

パッケージ
dsh-model-gate
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/23

インストール

$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.