dsh-task-models
Enhanced DSH subagent tools with per-call model and reasoning-effort selection
AI 분석
核心用途是精细化控制子代理的算力消耗。适合需要根据任务难易度动态分派不同模型(如轻量模型 vs 强推理模型)的进阶用户。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:TTTPOB/dsh-task-modelsBundle 配置
默认 bundle 等价于:
- id: tool-subagent
disabled: true
- id: tool-subagent-fork
disabled: true
- insert:
- id: task-model-routing
name: dsh-task-models
- id: enhanced-tool-subagent
name: dsh-task-models/delegation
config:
provider: spawn
toolName: subagent
backgroundMode: continuable
- id: enhanced-tool-subagent-fork
name: dsh-task-models/delegation
config:
provider: fork
toolName: subagent_fork
backgroundMode: one-shot
增强委托入口还接受原生静态配置:
enableRunInBackgroundagentOptions.provider/agentOptions.model/agentOptions.maxTokenspersonatoolFilter.allow/toolFilter.denymaxDepth,默认3,也可设为provider-managed