liujuntao123/dsh-clinepass-pin ↗★ 0

dsh-clinepass-pin

Pin the Cline Pass route in DeepSeek Harness to one upstream provider (default: first-party deepseek) by adding providerOptions.gateway.only to the chat request body. Companion to dsh-clinepass, which observes but never rewrites. 适合需要强制指定特定上游接口、避免路由漂移的开发人员。

パッケージ
dsh-clinepass-pin
互換性
未検証
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/10/19

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:liujuntao123/dsh-clinepass-pin

ドキュメント

README 全文を読む ↗

配置

键默认作用
upstreamhttps://api.cline.bot网关 origin;路由自己拼 /api/v1/chat/completions
models['cline-pass/deepseek-v4.1-flash-1017']只有这些 model id 会被加钉
only['deepseek']允许的上游列表,必须非空(空列表会让网关 500)
statusFile$DSH_HOME/dsh-clinepass-pin-status.json运行证据;false 关掉
logtrue宿主日志

改配置写在 profile 的 cordis.patch.yml 里(patch 是整行替换 config):

- id: clinepass-pin
  config:
    models: [cline-pass/deepseek-v4.1-flash-1017]
    only: [deepseek]