fengyevvv/dsh-egress-router ↗★ 1
dsh-egress-router
Purpose-based egress routing for DeepSeek Harness: model traffic direct, web_fetch through a proxy, automatic fallback to direct, switchable in the Web UI. 适合需要将模型流量与网页抓取流量进行分流代理的用户。
Other repositories with this package name
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:fengyevvv/dsh-egress-routerREADME
Read the full README ↗配置
| 字段 | 默认 | 说明 |
|---|---|---|
enabled | true | 总开关;false 时还原启动时的策略 |
mode | system | direct / system / manual |
proxy | http://127.0.0.1:7897 | manual 模式的代理地址,只支持 http:// / https:// |
keepModelDirect | true | 把 deepseek.com 加进 NO_PROXY |
noProxy | [] | 额外直连主机(可写具体 IP / 主机名,不支持 192.168.* 这类网段) |
fallbackToDirect | true | 代理不可用时回落直连 |
probeIntervalMs | 5000 | 探测周期;0 关闭探测 |
probeTimeoutMs | 800 | 单次探测超时 |
环境变量 kill switch:DSH_EGRESS_DISABLE=1 时插件完全不接管。