liujuntao123/dsh-clinepass-pin ↗★ 0
dsh-clinepass-pin
将路由请求钉选至指定的单一上游服务商。 适合需要强制指定特定上游接口、避免路由漂移的开发人员。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:liujuntao123/dsh-clinepass-pin说明文档
阅读完整 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]