dsh-workspace-settings: Setting a Default Model for Each Workspace

Introduction

DeepSeek Harness (DSH) supports switching models for different projects or tasks, but the global default model causes all workspaces to share a single configuration. If you’re handling different types of tasks in parallel across multiple workspaces—one with a reasoning model enabled while another still uses a standard model—it’s easy to make mistakes or waste tokens. Below is an introduction to a plugin that gives each workspace its own independent default model. New sessions pick the model based on the workspace, and workspaces without a setting fall back to the global default.

What It Is

yakumioto/dsh-workspace-settings is a DSH plugin that stores per-workspace settings. It currently provides a “Default Model” option. Each workspace can use its own default model when creating a new session; workspaces without a configured model follow DSH’s global default. The plugin writes its configuration to the current profile’s cordis.patch.yml, so settings persist across restarts. The maintainer is yakumioto, and it is licensed under MIT.

Core Features

  • Configure a default model per workspace; new sessions in that workspace use it automatically.
  • Workspaces without a configured model automatically fall back to DSH’s global default model.
  • Only applies to empty sessions (no messages sent yet); existing sessions retain their own model selection.
  • After changing a workspace’s default model, already-open empty sessions in that workspace switch immediately—no refresh or message send required.
  • If the user manually selects a model in the input box, that choice takes precedence and won’t be overridden by the workspace default.
  • Deleting a workspace record causes its open empty sessions to revert to the global default model.
  • After a plugin reload, previously written session models are still recognized. The default value at process startup is treated as a “self-write,” and subsequent changes take effect as normal.

Installation & Enabling

Install it through DSH’s plugin manager. You can also install it via the command line:

dsh plugin add github:yakumioto/dsh-workspace-settings

After installation, the plugin is automatically added to the profile’s dsh.profile.bundles (handled by the plugin manager).

Typical Usage

  1. Right-click a workspace in the DSH sidebar and select “Workspace Settings…”.
  2. In the settings dialog, choose a model under “Default Model” (models with reasoning levels also require selecting a tier). The first option is “Follow Global Default”.
  3. Save the settings.
  4. Create a new session in that workspace—the chat window will use the default model you just selected.

Configuration Example

The plugin writes settings to the current profile’s cordis.patch.yml. Each workspace has one record, and additional settings are added as new fields within the same record:

- id: workspace-settings
  name: "@yakumioto/dsh-workspace-settings"
  config:
    workspaces:
      - workspaceId: 0b9d2c41-…
        defaultModel:
          provider: deepseek
          model: deepseek-flash
          reasoningEffort: high

deepseek-flash corresponds to DeepSeek-V4.1-Flash; omitting reasoningEffort means the model’s default tier is used.

Use Cases & Notes

  • Ideal for users who need different default models for different tasks across multiple workspaces.
  • The plugin runs with the current DSH process’s permissions. It is recommended to review the source code and license before installing.
  • Currently only the “Default Model” option is provided; more per-workspace features may be added in the future.

Conclusion

This plugin allows each workspace to have its own independent default model, reducing misconfiguration and confusion, while leaving room for additional per-workspace features down the road. For more details and the source code, refer to the catalog page and the GitHub repository.

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

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

Xiaoye