Asowerp/dsh-smart-subagent0

dsh-smart-subagent

为 DSH 子智能体工具添加 model 参数,允许在每次调用时自主选择子智能体的服务商、模型及推理强度。

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.