@superfish058/dsh-llm-proxy: DSH Plugin with Model-Specific Proxy and Retry Configuration
`@superfish058/dsh-llm-proxy` is a model proxy plugin designed specifically for DSH, licensed under the MIT License and requiring Node.js >= 24. Its core functionality is to address network path variations and request interruptions, implementing the extension philosophy of "everything is a plugin." This plugin allows users to configure proxies at the granularity of model API addresses: selected models are forwarded through specified addresses (such as Clash), while unselected models maintain direct connections to avoid affecting global proxy settings. Additionally, the plugin features a built-in automatic retry mechanism that defaults to retrying three times for disconnections, HTTP 429, and 5xx errors, with a 1-second interval. Technically, the plugin injects `RoutingDispatcher` and `RetryAgent` into the undici global Dispatcher.
Read More