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.