dsh-llm-proxy
Run the following command in DeepSeek Harness:
dsh plugin install Ye-Yu-Mo/dsh-llm-proxy
Paste the following prompt into your AI chat to install this plugin:
Install the plugin in DeepSeek Harness by running the command dsh plugin install Ye-Yu-Mo/dsh-llm-proxy from the GitHub repository at https://github.com/Ye-Yu-Mo/dsh-llm-proxy.
About this plugin
When using DeepSeek Harness (dsh) to send LLM requests, developers often encounter a frustrating issue: dsh relies on node's undici, which by default does not read proxy settings from environment variables like HTTP_PROXY. This means if your LLM endpoint requires an HTTP proxy for access, dsh will attempt a direct connection, leading to timeouts or connection failures.
The dsh-llm-proxy plugin addresses this pain point by globally hijacking the fetch proxy routing within the dsh process. Using undici's setGlobalDispatcher and EnvHttpProxyAgent, it ensures all LLM requests automatically route through your specified proxy address. Key capabilities include: configurable proxy settings with hot-swapping (changes take effect instantly without restart), reversibility (the plugin restores the baseline dispatcher upon deactivation, leaving no process-level residue), and observability (APIs to check the current proxy mode and test connectivity).
This plugin is ideal for dsh users operating in corporate networks, firewalled environments, or anywhere HTTP proxies are necessary to access external services. Whether you're a regular dsh user or a system administrator, it simplifies proxy configuration, ensuring LLM requests reliably traverse proxy channels, enhancing both stability and debugging convenience.
Use Cases
- Configure proxy to access LLM endpoints in corporate networks
- Hot-swap proxy settings during debugging without restart
- Ensure LLM requests reliably pass through firewalls
Best For
- Developers using DeepSeek Harness
- System administrators managing network configurations
- dsh users working in restricted environments
Related Plugins
Free web search plugin for DeepSeek Harness with web search, X search, and page fetch; no signup or API key required, with automatic multi-engine failover.
AnySearch-powered web and vertical search plugin for DeepSeek Harness, offering real-time search, cleaned URL content, concurrent batch search via native web_search/web_fetch, no API key required.
Pixel-perfect webpage clone tool that uses an agent harness to turn any webpage into a scored, full-page React replica.
A bilingual cost-tracking plugin for DeepSeek Harness with session/daily cost, budget, official & custom provider balance, coding plan quotas, peak/off-peak pricing alerts, and history stats.