Skip to main content

How to use dsh-reasoning-effort

Add a Codex-style model and inference intensity slider control below

This article is auto-derived from indexed fields (wiki / faq / compatibility_json), not freshly AI-generated.

This article is derived from the plugin's already-indexed fields (wiki / faq / compatibility_json / readme), not freshly generated by AI. Source field is noted at the end of each section.

Quick start

dsh-reasoning-effort

— source: plugin_wiki.wiki_content

Install & verify

dsh plugin --profile web add dsh-reasoning-effort

Run the command above in your DSH Web Profile. Then enable the plugin in the plugin list.

— source: plugins.install

Key points

    • id: my-model
  • 真正跟手的拖动:按钮按指针位置连续移动,释放后才吸附到有效档位。
  • 深浅主题适配:深色为蓝紫黑渐变,浅色为蓝白渐变,强度越高蓝色越深。
  • 只向左侧发射的特效:波浪、冲击波、像素辐射、粒子和拖尾不会越过按钮。
  • 与 DSH 状态同步:滑块和 /model 命令读写同一个会话模型目录。

— source: plugin_wiki.readme_en (fallback readme_raw)

FAQ

What to do if I don't see the "Model + Reasoning Effort" button below the input box after installation?

The plugin loads when the Web Host starts. You must first quit and restart DSH Web Host, then refresh the page. If the button still doesn't appear, confirm that the "Settings → General Settings → Reasoning Effort Slider" switch is enabled, and that the current model exposes at least two reasoning effort levels in the DSH model directory (fewer than two will display "Current model does not provide reasoning effort levels").

What if the current model doesn't declare reasoning levels (e.g., GLM-5.3)?

The model menu will show "View Level Declaration Guide". Opening it will give a complete copyable reasoningEfforts YAML section (including the - id: line, existing name/contextWindow/maxTokens will be preserved). Copy it and replace the entire corresponding entry in ~/.dsh/settings.yaml, then save. DSH loads automatically without restart. If it's also not in the knowledge base, it will give a general template filled according to endpoint documentation.

How to confirm the plugin has been loaded?

Run dsh --profile web --dump-config. In the parsed configuration, there should be a line name: dsh-reasoning-effort, corresponding to the bundle layer with id: reasoning-effort. After installation, you must manually restart DSH Web Host; the runtime does not hot-load new plugins.

How to uninstall?

Run dsh plugin --profile web remove dsh-reasoning-effort. After uninstallation, restart DSH Web Host again. The native model selector will be restored automatically, and DSH's built-in model directory will not be modified.

Where are the slider switch and "Big Fatty Fish Slider" switch stored? Will they become invalid if I switch browsers?

Both switches are only stored in the current browser's localStorage (keys are dsh-reasoning-effort.enabled and dsh-reasoning-effort.chabi-thumb), not written to the DSH configuration file. Switching browsers or clearing browser site data will return to default state. The old key @dsh-external/dsh-reasoning-effort.enabled will be automatically migrated.

Why does it still report a 400 error even though the Alibaba Cloud Bailian endpoint has declared levels?

Alibaba Cloud Bailian's OpenAI-compatible endpoints (maas.aliyuncs.com / dashscope.aliyuncs.com) reject the developer message role. DSH's pi-ai detection treats it as standard OpenAI, and settings.yaml currently cannot override this behavior. The plugin will directly give a warning in the level guide panel and suggest using the built-in zai routing instead.

— source: plugin_wiki.faq_json

Compatibility

  • DSH: 0.1.0-rc.6
  • Node: >=22.19
  • Platforms: 跨平台

— source: plugin_wiki.compatibility_json

Pitfalls

Review the upstream repo before installing. This guide is auto-derived from indexed fields and may lag the latest release. If anything contradicts the official docs, treat the upstream source as authoritative.

— source: general rule