ChaoYuZhang001/dsh-auto-router ↗★ 0

@chaoyuzhang/dsh-auto-router

Configurable Auto model routing tier for DeepSeek Harness 适合需按任务复杂度自动分流模型的用户;需先配置目标 provider 与模型 ID。

パッケージ
@chaoyuzhang/dsh-auto-router
互換性
未検証
Harness ピア範囲
^0.1.0-rc.7
Cordis ピア範囲
^4.0.1
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/20

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ChaoYuZhang001/dsh-auto-router

ドキュメント

README 全文を読む ↗

Configuration

Override the inserted auto-router row in a profile patch:

- id: auto-router
  config:
    providerId: auto
    displayName: My Auto Router
    targetProvider: my-openai-gateway
    tiers:
      light: fast-model
      medium: balanced-model
      heavy: reasoning-model
      code: coding-model
      vision: vision-model
    sticky: true
    mediumThreshold: 300
    heavyThreshold: 1200
    contextWindow: 262144
    defaultMaxTokens: 32768

The router registers providerId as its synthetic route and delegates to targetProvider. The target route must advertise the configured model IDs.

The package does not store, read, or transmit API keys. Credentials belong to the target provider's normal DSH settings and credentials configuration.