Bundle
@local/dsh-muse-total-tps
DeepSeek Harness Web 插件:Muse Spark 使用包含 TTFT 的总生成时间计算 TPS
- Source
- sd1g1
- License
- MIT
- Updated
- Updated 19 days ago
Readme
# dsh-muse-total-tps
DSH Web 插件:对 `opencode-go/muse-spark-1.2-contributor` 使用包含 TTFT 的总生成时间计算统计栏 TPS,避免 TTFT 很长时只按首 token 后解码时间计算导致 TPS 虚高。
## 安装
```bash
dsh plugin --profile web add github:sd1g1/dsh-muse-total-tps
```
重启 DSH 后生效,刷新 Web 页面即可看到统计栏使用新算法。
## 配置
默认目标:
```yaml
- id: ui-muse-total-tps
config:
provider: opencode-go
model: muse-spark-1.2-contributor
```
也可以配置多个目标:
```yaml
- id: ui-muse-total-tps
config:
targets:
- provider: opencode-go
model: muse-spark-1.2-contributor
```
## 验证 / 卸载
使用目标模型完成一轮响应后,底部统计栏的 `tok/s` 会按 `输出 tokens / (assistant/message - step/start)` 计算;鼠标悬停统计栏会提示已按总生成时间调整。
```bash
dsh plugin --profile web remove @local/dsh-muse-total-tps
```
Install
dsh plugin --profile web add github:sd1g1/dsh-muse-total-tps
Profile: web
With the hub plugin installed, ask your agent to install it by name — it resolves the same plan shown here.
dsh plugin --profile web add github:stvlynn/dsh.fish#path:packages/dsh-plugin-hub
install local-dsh-muse-total-tps from the hub
- This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.