← Back to list

dsh-llm-proxy

DeepSeek Harness Models & Providers Low risk

Per-model proxy routing for LLM requests: selected models go through a proxy (Clash etc.) while the rest stay direct, with automatic retry on transport errors, 429 and 5xx, configured live from the settings page.

按模型给 LLM 请求分流代理:勾选的模型走代理(Clash 等),其余直连;传输错误、429、5xx 自动重试,设置页实时生效。

How to install

DeepSeek Harness dsh plugin add @superfish058/dsh-llm-proxy

About

@superfish058/dsh-llm-proxy DSH 模型代理插件:给 LLM 请求按「目标域名」分流——选中的模型走代理,其余直连,失败自动重试。 它是干嘛的 **按模型走代理**:在 DSH 设置页(插件 → 可配置插件 → 模型代理)勾选需要走代理的模型(如 deepseek-v4-flash),该模型的请求自动经 proxyHost:proxyPort(默认 127.0.0.1:7897,即 Clash)转发;未勾选的模型(DeepSeek、小米、通义等国内 API)保持直连。 **失败自动重试**:对断连(ECONNRESET 等)、HTTP 429 限流、5xx 错误自动重试(默认 3 次、间隔 1s),减少免费额度被瞬时错误打断。 **模型列表与官方一致(v1.0.3)**:只配了 apiKeyEnv、没写 models 的 provider(如 xiaomi),其模型从 pi-ai 内置目录(@earendil-works/pi-ai)回退补齐,勾选列表与 DSH 官方模型选择器完全同步;目录更新(npm update 后)自动跟随,无需手改配置。 **retryPolicy 镜像(v1.0.3)**:卡片上的 retries/retryIntervalMs 会镜像进被勾选 provider 的官方 retryPolicy(驱动设置页可见的 (retry/…

Recommendation signals

51 Tool quality · Based on stars, downloads, maintenance, security and docs
User interest · Adjusted by in-site views, install copies and download clicks
51 Overall
0views
0unique visitors
0install copies
0download clicks
0outbound clicks

Meta

License
MIT
Language
JavaScript
GitHub stars
1
mo. downloads
Last push
2026-08-19
Created
2026-08-18

Links

GitHub ↗ npm ↗ Report issue ↗

Basic safety check

Findings
None
Sources
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
Topics
deepseek-harness, dsh, dsh-plugin, llm-proxy

Related plugins

Claude Code New
Score74

claude-code-router

musistudio/claude-code-router

One local control plane for every AI agent: route across models, fuse new capabilities, orchestrate tools, and stay fully in control.

☆ 36.8K ↓ – Models & Providers
MCP Server New
Score72

apisix

apache/apisix

The Cloud-Native API Gateway and AI Gateway

☆ 17.0K ↓ – Models & Providers
MCP Server New
Score70

higress

alibaba/higress

🤖 AI Gateway | AI Native API Gateway

☆ 9.2K ↓ – Models & Providers
Claude Code New
Score69

codecompanion.nvim

olimorris/codecompanion.nvim

✨ AI Coding, Vim Style

☆ 6.8K ↓ – Models & Providers