dsh-llm-proxy
Persistent global fetch proxy for DeepSeek Harness LLM requests (undici setGlobalDispatcher + EnvHttpProxyAgent), configured via the llm-proxy settings namespace
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Ye-Yu-Mo/dsh-llm-proxy说明文档
阅读完整 README ↗配置
通过 dsh 设置页的「LLM 代理」项,或直接编辑 ~/.dsh/settings.yaml:
llm-proxy:
enabled: true
url: http://127.0.0.1:7891 # 你的 HTTP(S) 代理地址
noProxy:
- localhost
- 127.0.0.1
- ::1
| 字段 | 类型 | 默认 | 说明 |
|---|---|---|---|
enabled | boolean | false | 是否启用代理接管 |
url | string | '' | HTTP(S) 代理地址,如 http://127.0.0.1:7891 |
noProxy | string[] | ['localhost','127.0.0.1','::1'] | 不走代理的地址 |
⚠️ dsh 设置页只暴露白名单内的配置命名空间。若设置页显示「表单不可用」,需把
llm-proxy加入dsh-host-apiproxy的WEB_SETTINGS_NAMESPACES(当前为 dsh 已知限制,见下)。