dsh-model-router

插件会话与消息中文文档MIT
Model Router & Cost Optimizer for DeepSeek Harness (dsh). Answers simple questions directly on the cheap model (zero prefix, no cache tax), degrades gracefully on transient provider failures, and shows live per-session token / cache-hit / cost figures right under the composer.

功能特性

  • Auto / off toggle — the dock panel and /router auto|off (plus the route_model tool) simply enable or disable quick-answering for the session. There is no per-request model flipping to configure.
  • Automatic fallback — transient failures (RATE_LIMIT, SERVER, TIMEOUT, EMPTY_RESPONSE) degrade the turn to the cheap model and retry once; anything else delegates to the provider's own retry policy.
  • useProjection-driven stats reflect the whole session log — history recorded before installation is included, which is intentional.

安装命令

npm install -g @deepseek-ai/dsh

项目预览

话题标签

#deepseek-harness#dsh-plugin#model-router
← 返回 插件 列表