dsh-reasoning-adapter: Add Reasoning Tiers to Models with Custom Routing

Routes in the DSH official directory come with built-in reasoning metadata, whereas models added to self-hosted gateways or relays only possess API, baseURL, and model ID. There are no option tiers in the selector, and manually enabling the reasoning switch only yields generic off/low/medium/high settings. The `dsh-reasoning-adapter`, maintained by Hatiaa, identifies vendors based on model names, populates the option tiers and request fields that the vendor actually accepts, and updates the profile configuration to automatically enable the reasoning switch in "Model Settings." The plugin identifies vendors in the order of ID, display name, keyword fuzzy matching, and API domain, covering Claude, GPT, DeepSeek, GLM, Kimi, Qwen, Gemini, Grok, Doubao, and MiMo; models that cannot be identified are not modified. This article provides the installation command, the two-layer working mechanism, user priority recorded per model, configuration items and overrides, diagnostic file locations, uninstallation methods, and the author's tested list on DSH 0.2.1-rc.5.

Read More