返回目录
其他 待识别

dsh-resoning-effort

Asowerp/dsh-resoning-effort

该仓库暂未提供项目说明。

Stars
0
Forks
0
Issues
0
更新
1 个月前

PROJECT TOPICS

项目标签

PROJECT README

README

dsh-reasoning-effort

Adds configurable thinking-strength (reasoning-effort) levels to custom providers in DeepSeek Harness (hand-declared llm-pi-ai routes).

Built-in deepseek-official already offers Off/High/Max, but custom providers only expose levels when each model explicitly declares reasoningEfforts. This plugin adds a settings page that writes those declarations straight into llm-pi-ai — the composer's model picker and the request path pick them up immediately.

Highlights

  • Custom (hand-declared) routes only; built-in/catalog routes are never touched.
  • Explicit opt-in: only models you tick are written.
  • Changes auto-save (600 ms debounce).
  • Apply known model: search and apply the reasoning levels of ~420 known reasoning models (embedded catalog, regenerable via scripts/dump-catalog.mjs && scripts/embed-known.mjs).
  • Provider cards collapsed by default.

Install

dsh plugin --profile web add "link:<path>/dsh-reasoning-effort"

(Or copy the package into <DSH_HOME>/profiles/node_modules/dsh-reasoning-effort and add "dsh-reasoning-effort" to the profile's dsh.profile.bundles.)

Restart the web profile afterwards.

Use

Settings → Thinking strength: expand a custom provider, tick the levels each model should offer (off / minimal / low / medium / high / xhigh / max; off omits the reasoning parameter), optionally set the provider default level and thinking format, or search an input field to apply a known model's levels. Changes write directly to llm-pi-ai's reasoningEfforts.

How it works

Settings page → settings.mutate("llm-pi-ai")
  → providers.<route>.models[].reasoningEfforts (persisted in settings.yaml)
  → dsh-llm-pi-ai hot-reload
  → resolveModelInfo().reasoning → picker shows levels, request path validates/dispatches

Limitations

  • Hand-declared (declared === true) routes only; catalog modelOverrides injection is out of scope for v1.
  • Requires @deepseek-ai/dsh-llm-pi-ai to be mounted.
  • scripts/ holds the catalog regeneration tools and is not published with the npm package.

CLASSIFICATION EVIDENCE

分类依据

项目类型待识别
功能分类其他
规则置信度

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。