dsh-plugin-message-model-badge: Display Provider/Model in Message Action Row

Introduction

When running multi-model routing, subagents, or switching providers in DeepSeek Harness (DSH), assistant replies within the same session may originate from different backends. While logs typically contain message.source, the lack of visible attribution on the interface—meaning you cannot see “who generated this reply”—makes troubleshooting and comparing model behaviors a tedious task requiring constant log checking. The plugin introduced below labels the provider and model on the action row of each assistant message (the row containing copy and feedback buttons), applicable to both main sessions and subagent sessions.

What is this

dsh-plugin-message-model-badge is maintained by kjx-talesofai and categorized as “Model Inference” in the community directory. It is a purely UI-focused plugin: the Host side only registers a session projection to pass the existing message.source from logs to the browser for display; it does not write files, add new event types, or modify data for other plugins. The client does not collapse session events on its own, adhering to DSH conventions.

The label format is provider/model, such as deepseek-official/deepseek-flash or bailian/qwen3.5-27b.

Core Features

Model Identifier in the Action Row

The action row of assistant messages will display an additional piece of secondary text indicating the provider and model corresponding to that reply. When a session interfaces with multiple models simultaneously, or when a subagent session uses an independent model, you can distinguish the source directly on the interface.

Display Rules

There are two points to understand beforehand:

  1. Only one display per turn: DSH only renders the action row on the assistant message that concludes the turn. Therefore, if there are multiple assistant messages within the same turn, only the last one will carry the identifier.
  2. Only label, no guessing: In multi-model sessions, messages older than the most recent 300 do not display the identifier (rather than being incorrectly labeled as the current latest model). Single-model sessions are not subject to this restriction, and all historical messages can be correctly labeled.

Installation and Activation

The current version of the plugin is v0.1.1, requiring DSH Desktop ≥ 0.2.0-rc.1 and < 0.3.0. The installation source identifier is as follows:

github:kjx-talesofai/dsh-plugin-message-model-badge#v0.1.1

Execute the following under your desktop configuration:

dsh plugin --profile desktop add github:kjx-talesofai/dsh-plugin-message-model-badge#v0.1.1

Restart the DSH Desktop application after installation is complete. You can also install using the absolute path of a local checkout. To upgrade, uninstall and then reinstall.

The plugin runs with the permissions of the current DSH process; it is recommended to review the repository source code and the MIT license before installation.

Typical Usage

No additional configuration is required after installation and restart. Simply engage in normal conversation: look for the provider/model text in the assistant message action row.

The manual verification environment recorded in the README is macOS (Apple Silicon) · DSH Desktop 0.2.0-rc.2: bailian/qwen3.5-27b is visible in subagent sessions, and deepseek-official/deepseek-flash is visible in normal sessions; on 0.2.1-rc.2, the action row is still occupied by this badge.

Developers can run npm test in the plugin directory (based on node:test, no separate install required, and no build steps); tests cover projection folding and browser-side loader forms, but do not cover real Harness end-to-end rendering.

Use Cases and Notes

  • Suitable for: Switching or parallel usage of multiple providers/models within the same session; distinguishing replies generated by the main session versus subagents.
  • Note: In multi-model scenarios, labeling is attempted only for the most recent 300 messages; single-model sessions have no such window restriction. Non-final assistant messages within a turn will not display the action row identifier.
  • Ecosystem: DSH adopts an “everything is a plugin” philosophy; the SkillHub directory page is a community site and has no official affiliation with DeepSeek / Hikvision (幻方).

Conclusion

dsh-plugin-message-model-badge brings the model source information from logs to the message action row, reducing the effort required to identify models in multi-model and subagent scenarios. For more information, see the SkillHub plugin page and the GitHub repository.

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

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

Xiaoye