dsh-custom-provider: Add Passwordless Authentication Toggle for Custom Model Providers

Preface

DeepSeek Harness (DSH) allows users to manually declare custom model providers. For local deployments or self-hosted inference endpoints that do not require an API Key, the system’s built-in authentication check may interrupt requests. This plugin adds a control toggle in the configuration interface, allowing these specific endpoints to bypass API Key validation.

What Is It

This is a DSH plugin maintained by ComeCaramelos. It adds a “No API key required” option to the manually declared provider card, along with a status indicator light that shows whether the current configuration passes the authentication check.

Core Features

  1. Configuration toggle: Adds a keyless authentication switch for saved manually declared provider cards under “Settings → Models”.
  2. Status indication: When a provider’s configuration is authenticated via a non-empty Authorization header (whether through the toggle, inherited configuration, or manual input), the corresponding row displays a green status dot.

Installation and Activation

Run the following command in the terminal to add the plugin:

dsh plugin add @comecaramelos/dsh-custom-provider

Typical Usage

  1. Open Settings → Models and save a new custom provider (the creation form itself does not include the toggle).
  2. Click on the saved provider’s card to expand the editor. The toggle is located inside the expanded editor and is not visible when the card is collapsed.
  3. For endpoints that do not require an API Key, check No API key required.
  4. If the provider’s configuration is authenticated via a non-empty Authorization header, a green status dot will appear on the left side of the row.

Use Cases and Notes

  • Use Cases: Local LLM services, self-hosted inference interfaces, and other endpoints that ignore HTTP authentication.
  • Technical Details: The status dot is determined solely based on whether the Authorization header is non-empty; it does not stack with the page’s native credential indicators.
  • Development Environment: The plugin is mounted from the source tree at runtime, rather than read from the published npm package. During development, you need to build first and create a link in the web configuration file.

Conclusion

This plugin resolves authentication conflicts when connecting local models through a simple configuration option. For more implementation details and source code, please refer to the project homepage.

Plugin Directory
GitHub Repository

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye