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. 适合需要强制指定特定上游接口、避免路由漂移的开发人员。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:liujuntao123/dsh-clinepass-pinREADME
Read the full README ↗配置
| 键 | 默认 | 作用 |
|---|---|---|
upstream | https://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 关掉 |
log | true | 宿主日志 |
改配置写在 profile 的 cordis.patch.yml 里(patch 是整行替换 config):
- id: clinepass-pin
config:
models: [cline-pass/deepseek-v4.1-flash-1017]
only: [deepseek]