dsh-smart-subagent
Agent 与会话 活跃维护

dsh-smart-subagent

Asowerp/dsh-smart-subagent

提供独立的smart_subagent调用工具,内置面向模型的model参数,支持模型每次调用时自主指定服务商和模型规格,无需预设自动路由规则,灵活适配不同任务的能力需求。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
None
开源协议
9 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:Asowerp/dsh-smart-subagent
git clone https://github.com/Asowerp/dsh-smart-subagent.git
git clone git@github.com:Asowerp/dsh-smart-subagent.git
README.md main

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:<space-free-path>/dsh-smart-subagent"

Restart the web profile afterwards.