zhuifengqug/dsh-adaptive-reasoning

A reasoning-effort slider for the DSH model selector that offers only the levels the selected model actually declares.

Replaces a fixed list of effort levels with the set the selected model actually advertises, which matters most on self-hosted gateways where the levels are adapter-defined rather than standard. Dragging is continuous with a 16ms throttle, and releasing or ending keyboard navigation snaps to the nearest declared level and issues one confirming write, so the wire sees one settled value rather than a stream of intermediate ones. The presentation is unusual and the README is upfront about the fallback: a three-pass WebGL2 fire simulation with a per-level ember palette and pixel-art framing, which degrades to static energy cells when WebGL2 is unavailable or reduced motion is preferred.

Web UI Enhancements ★ 2
View on GitHub ↗

Install

dsh plugin --profile web add dsh-adaptive-reasoning

The npm line; the README's git form pins #v2.0.0 for reproducibility and notes that the package is plain JavaScript with no prepare script, so a git install needs no pnpm build permission. Restart dsh web afterwards, and dsh --profile web --dump-config confirms the bundle patch joined the profile. The optional models.dev enrichment is off by default and is enabled by replacing the row with enrichFromModelsDev: true — the README's reason is that a catalog record cannot prove a private gateway accepts the same reasoning protocol.

Compatibility

Clicking the model selector's existing reasoning-effort row opens the panel, and writes go back through the normal session.selectModel RPC, so official model selection, load failures, accessibility behaviour and the /model command are unchanged. It reads only the current model's advertised reasoning.efforts — sparse and provider-specific levels included — and invents no global list. When the model declares nothing, the panel shows a hint and an auto-declare button whose source priority is a confident models.dev match, then a per-family heuristic; models that already declare efforts are never touched.

Details

Alternatives

zhifengjiang/dsh-hover-archive · huanglianqi/dsh-math-render · zhang-guo-wen/dsh-web-design

More plugins in Web UI Enhancements

Browse more in Web UI Enhancements

Guides for Web UI Enhancements plugins