Asowerp/dsh-smart-subagent0

dsh-smart-subagent

Adds a model parameter to the subagent tool so the model picks the subagent's provider/model per call

AI 분석

核心用途是实现子智能体调用模型的动态自主选择。适合需要根据任务难度灵活切换子智能体底层模型的高级智能体应用场景。

패키지
dsh-smart-subagent
버전
0.1.0
최근 업데이트
2026. 8. 15.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Asowerp/dsh-smart-subagent

dsh-smart-subagent

Adds a SEPARATE smart_subagent tool with a model-facing model parameter: the model picks the subagent's provider/model per call. No automatic routing. The built-in subagent / subagent_fork tools are untouched.

  • smart_subagent gains:
    • model (optional, enum of all currently available models, values like deepseek-official/deepseek-v4-pro); omit to inherit this conversation's model.
    • reasoning_effort (optional: off/minimal/low/medium/high/xhigh/max; applies only when the chosen model supports it).
  • Foreground and background (continuable) children both run on the chosen model; follow-ups via send_message keep it.
  • The model enum mirrors the composer picker (registered providers' models) and refreshes on llm/adapters-updated.
  • A short system-prompt section explains the parameter; every new conversation sees it automatically.

Install

dsh plugin --profile web add "link:/dsh-smart-subagent"

Restart the web profile afterwards.