dsh-model-proxy: Domain-based proxy for DSH model API requests

*dsh-model-proxy* is a DeepSeek Harness plugin maintained by recyvan. It forwards model API fetch requests through system or custom HTTP/SOCKS proxies based on rules, while maintaining a direct connection for unconfigured domains. The plugin supports rule, system, and custom modes, includes built-in presets for overseas APIs and domestic direct connections, and enforces three security constraints that cannot be relaxed. It requires DSH version 0.2.1-rc.2 or higher. Based on the official README, this article covers installation, typical scenarios, verification methods, and limitations regarding websockets and web scraping.

Read More
dsh-model-proxy: Routing outbound proxy based on model name with direct fallback when proxy is unavailable

`dsh-model-proxy` is a bundle plugin provided by windwhiterain for DeepSeek Harness. By occupying the global `undici` dispatcher to read the `model` field from the request body, it routes only calls matching the `origins` and `models` patterns through the specified HTTP(S) proxy, while leaving the rest of the requests to follow the routing behavior established prior to plugin loading. It supports `fallbackToDirect` to fall back to direct connections when the proxy TCP connection is unreachable, thereby avoiding the need for a process-level `HTTP_PROXY` to route the entire gateway through the proxy. Based on the official README, this article explains the installation (via `profile` in `package.json`), `cordis.patch.yml` configuration, typical scenarios, and known limitations.

Read More