DSH | dsh-specify-subagent-suite | 派遣子代理时指定大模型和强度,不继承主会话 #4254
Cho-Geer
started this conversation in
Show Your Plugins!
Replies: 3 comments 4 replies
|
好方向。"派遣时定模型和强度"这层语义,Pi 生态那边我们也独立做到了,正好互为佐证: 两套实现殊途同归,说明这层语义在插件侧是稳定可达的——或许能给你 preset 健康检查那栏提供一个现成的对照面。 |
1 reply
|
The handbook now links this Agent preset/model/effort pattern from its subagent route guide: https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/docs/en/troubleshooting/spawn-subagent-reasoning-effort.md — explicit child route evidence is kept separate from parent UI state. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
非官方项目,由社区成员独立开发和维护。
项目地址:https://github.com/Cho-Geer/dsh-specify-subagent-suite
项目介绍:
核心功能:派遣子代理时可指定大模型和强度,不继承主会话,一次设置便可简单实现强弱模型搭配任务。
token plan不够用,想均衡一下成本的。 想优化细分任务与子代理能力匹配的。可以试试。
1. 右侧 Agent 列表 / Right-side Agent list
details侧栏列出全部可派遣的 Agent Preset 及健康状态(broken 的 preset 会给出无法挂载的原因),目录增量自动展开。A
detailssidebar listing every dispatchable Agent Preset with health (broken presets explain why they cannot mount), with incremental auto-expansion of catalogs.2. 子代理模板面板 / Subagent template panel
会话头部的「子Agent 模板」下拉面板,按 preset 配置
provider / model / effort覆盖。双层作用域:全局层(所有会话)与会话层(仅本会话)。
编辑由 host 持久化到
~/.dsh/subctl/overrides.json。会话忙时(主 turn 在途或任一后代在途)该会话的编辑被拒绝;忙世代期间其他会话对全局层的编辑也不会渗入该会话的派遣面,直到其转闲后生效。A
子Agent 模板dropdown in the session header to configureprovider / model / effortoverrides per preset. Two layers: global (all sessions) and session (this session only). Edits persist in the host at~/.dsh/subctl/overrides.json. While a session is busy (main turn running or any descendant in flight) edits are rejected for that session, and global edits made by other sessions during a busy generation do not leak into that session's dispatches until it goes idle.3. 一次性子代理 record 徽章 / One-shot subagent record badge
composer 徽章以可读 chips(
provider / model / preset / effort)展示最近一条子代理 record,亮暗两主题适配。A composer badge showing readable chips (
provider / model / preset / effort) for the most recent subagent record, in both light and dark themes.4.
subagent_pro以
preset、provider、model、effort、max_tokens、run_in_background参数派遣子代理——内置subagent工具做不到的一切。支持嵌套派遣(根 → 子 → 孙)与深度限制。Dispatch subagents with
preset,provider,model,effort,max_tokens, orrun_in_backgroundparameters — everything the built-insubagenttool cannot do. Supports nested delegation (root → child → grandchild) with depth limits.图中展示遵循硬规则的派遣流程:先调
subagent_pro_presets验证目标 preset 真实存在,再核subagent_pro工具签名,最后带preset / provider / model / effort参数派遣。The screenshot shows the rule-driven dispatch flow: call
subagent_pro_presetsfirst to confirm the target preset exists, verify thesubagent_prosignature, then dispatch withpreset / provider / model / effort.5.
subagent_pro_presets/subagent_pro_auditsubagent_pro_presets—— 列出全部可派遣 preset 的字面 id(不确定时先调用再派遣)。subagent_pro_audit—— 读取子代理的实际请求头(provider / model / reasoningEffort / preset),把"我以为它跑在 X 上"变成"它实际跑在 X 上"。subagent_pro_presets— list every dispatchable preset with literal ids (call before dispatching when unsure).subagent_pro_audit— inspect a dispatched child's actual request headers (provider / model / reasoningEffort / preset). Turns "I assumed it ran on X" into "it actually ran on X".安装 / Install:
或 / or:
然后在 profile 的
cordis.patch.yml加入该行(id 为specify-subagent-suite)并重启dsh web。Then add the row to your profile's
cordis.patch.yml(idspecify-subagent-suite) and restartdsh web.项目排序完全依据社区 Upvote。Upvote 不代表 DeepSeek 官方审核或推荐,使用第三方项目前请自行甄别。
Ranking is purely by community upvotes. Upvotes do not represent official review or endorsement by DeepSeek. Please evaluate third-party projects yourself before use.
All reactions