dsh-model-settings: Unified Panel for Main Models, Sub-agents, and Goal Turns

Preface

Changing the main session model in DSH often only affects the current conversation or the default routing for new sessions via the interface. Sub-agents, tasks launched by workflows, and turns during active goals may still follow their own default configurations. A billing investigation recorded in the README relates to this: the main session had switched to a different provider, but sub-agents still inherited the agent-default-model set at creation, causing a large number of requests to fall under a different usage-based billing plan. If you need to see at a glance—on the Web end—which provider, model, and reasoning effort each of the three types of “consumers” are using, and require hot updates without restarting the process after saving, dsh-model-settings (maintained by Howthemeaning, ~2 stars on GitHub) is a panel plugin designed to address this issue of fragmented routing.

What is this

dsh-model-settings is a Web plugin for DSH (dsh.client.platform: "web") that adds a Model Settings entry to the bottom left of the interface (below the workspace, above settings). It uses a single panel to configure three types of objects that independently invoke models. Each tier can set provider / model / reasoningEffort, or choose to “Follow Default”. The current package version is 0.2.2 (see repo package.json), licensed under MIT.

Tier Manages Whom When it takes effect (Summary)
Main Model Default for new sessions, writes agent-default-model Writes config and immediately switches the current conversation when “Apply to Global” is clicked
Sub-agents (incl. workflows) Sub-agent requests (agent/request global interception) Hot update: Takes effect the next time a running session launches a sub-agent
Goal Turns Session turns during active goals Hot update: Takes effect on the next goal turn

Two Saving Actions

There are two buttons on the panel with different meanings; using the wrong one can lead to the assumption that “it has been changed globally”:

Button Behavior
Apply to Global Writes to global config and immediately switches the currently open conversation as well
Apply to Current Conversation Only Only changes the current session without writing to global config

Daily panel saves go through the settings user layer; if you want to preset default values for sub-agents or goals during deployment, you can use update in the profile’s cordis.patch.yml to override the plugin’s config (see configuration section below for fields).

Installation and Activation

The plugin runs with the permissions of the current dsh process. Before installing, it is recommended to review the GitHub repository source code and LICENSE yourself. Community directory page: SkillHub Plugin Entry.

Web Version (dsh 0.1.x / Standalone web profile)

Install from GitHub below; dsh plugin will pack it into the profile and automatically add it to dsh.profile.bundles due to dsh.bundle.patch. A restart of dsh is required for the plugin entry to appear.

dsh plugin --profile web add github:Howthemeaning/dsh-model-settings

DSH NEXT Desktop (0.2.x)

The desktop desktop profile is managed by Electron, and the CLI will reject --profile desktop. In the sidebar Plugins → Add Plugin → Install Third-party Plugin, enter github:Howthemeaning/dsh-model-settings (local directories are also supported), then restart the client.

Uninstall (Web Version)

dsh plugin --profile web remove dsh-model-settings

DSH NEXT uninstalls via the sidebar Plugins page; if manually placed in ~/.dsh/profiles/desktop/, you need to remove dsh-model-settings from dependencies and dsh.profile.bundles in package.json and delete the corresponding node_modules directory.

Typical Usage

  1. After installing and restarting, open Model Settings at the bottom left of the Web UI.
  2. Set the provider, model, and reasoning effort for the Main Model, Sub-agents, and Goal turns respectively (or keep them following defaults).
  3. Click Apply to Global if you want future new sessions and the current session to be consistent; use Apply to Current Conversation Only if you just want to try a model temporarily.
  4. No restart needed after saving: new sessions will use the new main model; the next sub-agent request in an ongoing session and the next goal turn will use the new configuration.

If a team wants to pin sub-agents to a cheaper model at the deployment layer, they can write the following in ~/.dsh/profiles/<profile>/cordis.patch.yml (web for Web, desktop for DSH NEXT):

- update:
    - id: model-settings
      config:
        subagent:
          provider: deepseek-official
          model: deepseek-v4-flash
          reasoningEffort: low

The config accepts two optional objects: subagent and goal. The fields for both are provider, model, and reasoningEffort; the Main Model tier is not configured here but is written to agent-default-model via the panel or dsh’s own settings.

Environment and Compatibility

The README states that the primary target path is the current @deepseek-ai/dsh 0.2.1-rc.2 (consistent with the DSH NEXT 2.0.19-next kernel), and it has been verified on multiple versions from 0.0.1 to 0.2.x. The panel relies on host services agents, webServer (server-side), and slots, locale (client-side). If optional services like settings, llm, agentDefaultModel, or goals are missing, the corresponding capabilities will degrade (e.g., unable to save, empty model list, goal tier not taking effect) rather than crashing the entire plugin.

Peer dependencies include @deepseek-ai/cordis, @deepseek-ai/dsh-llm, @deepseek-ai/dsh-settings, @deepseek-ai/schemastery, etc. Refer to the repo’s package.json for specific ranges.

Use Cases and Notes

Suitable for developers who frequently mix main sessions, sub-agents, and goals in DSH and want control over the three types of routing at a glance with immediate effect upon saving. It cannot replace your understanding of the billing rules of various providers; the origin story in the README explains the routing inheritance mechanism and billing risks, rather than the plugin keeping accounts for you.

The DSH ecosystem emphasizes “Everything is a plugin”; community directories like SkillHub have no official affiliation with DeepSeek / High-Flyer. The installation and capability descriptions in this article are based on the repository’s README and package.json.

Conclusion

dsh-model-settings consolidates the provider, model, and reasoning effort for the main model, sub-agents, and goal turns into a single Web panel, distinguishing between “Global” and “Current Conversation Only,” and supports hot updates. For further information, visit GitHub: Howthemeaning/dsh-model-settings and the SkillHub Directory Page.

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

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

Xiaoye