LostAbaddon/dsh-llm-proxy-router ↗★ 0

dsh-llm-proxy-router

Route DSH's LLM requests per provider: configurable HTTP/HTTPS proxy for the providers that need one, direct connection for the rest. 适合需要对特定大模型服务商(如Gemini)使用代理,而对其他服务商直连的用户。

패키지
dsh-llm-proxy-router
호환성
미검증
버전
1.0.0
라이선스
MIT
최근 업데이트
2026. 10. 8.

설치

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

配置文件

{
  "enabled": true,
  "proxyUrl": "http://127.0.0.1:7890",
  "providers": {
    "gemini": { "enabled": true, "extraHosts": [] },
    "openrouter": { "enabled": true, "extraHosts": ["openrouter.internal"] },
    "deepseek": { "enabled": false, "extraHosts": [] }
  },
  "hosts": [
    { "pattern": "*.openrouter.ai", "enabled": true, "note": "" }
  ]
}

行配置可以给一个初始值(用户第一次保存后以配置文件为准):

- id: llm-proxy-router
  name: 'dsh-llm-proxy-router'
  config:
    enabled: false
    proxyUrl: ''
    configPath: ''
    defaultEnabledProviders: []
    reportPath: ''