copylee711/dsh-proxy ↗★ 1

@copylee/dsh-proxy

提供全局或单个模型服务商的代理与直连配置 适合需要精细控制不同 LLM 服务商网络代理路线以解决连接问题的用户。

包名
@copylee/dsh-proxy
兼容性
待验证
Harness 依赖范围
>=0.1.3-0
Cordis 依赖范围
^4.0.1
版本
0.3.1
许可证
MIT
最近更新
2026年9月27日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:copylee711/dsh-proxy

Configuration file

The same settings live in $DSH_HOME/profiles/ /cordis.patch.yml (the Web UI profile is web):

- id: dsh-proxy
  config:
    global:
      enabled: true
      url: http://127.0.0.1:7890
      noProxy: [internal.example.com]
    providers:
      anthropic:
        mode: proxy
        url: http://127.0.0.1:7890
      deepseek-official:
        mode: direct
FieldMeaning
global.enabledTurn the global proxy on. Default false, which keeps the launch environment's proxy.
global.urlGlobal proxy URL.
global.noProxyHosts reached directly while the global proxy is on.
providers..enabledUse this provider's own setting. Default true; false follows the global route.
providers..modeproxy (use url) or direct (bypass every proxy, the global one included).
providers..urlThis provider's proxy URL.

Proxy URLs may be http:// or https://. A bare 127.0.0.1:7890 becomes http://127.0.0.1:7890. Credentials go in the URL: http://user:password@host:port.