|
|
@@ -51,10 +51,12 @@
|
|
|
a fresh child agent (it works in its own context and returns only its
|
|
|
final result) — give it a complete, standalone instruction.
|
|
|
|
|
|
-# The subagent seam + both in-process backends + the model-facing `subagent`
|
|
|
-# tool, as leaf entries after the app (which provides ctx.agents/ctx.tools). The
|
|
|
-# tool is bound to the `spawn` backend (a fresh child); the `fork` backend is
|
|
|
-# loaded too so a multi-child scenario can exercise both transports.
|
|
|
+# The subagent seam + both in-process backends + two model-facing tools, as leaf
|
|
|
+# entries after the app (which provides ctx.agents/ctx.tools). spawn (a fresh
|
|
|
+# child) and fork (a child seeded with the parent's completed-turn prefix) are
|
|
|
+# both reachable by the model: dsh-tool-subagent is loaded once per backend with
|
|
|
+# a distinct toolName (subagent → spawn, subagent_fork → fork), so a multi-child
|
|
|
+# scenario can exercise both transports.
|
|
|
- id: subagent
|
|
|
name: '@deepseek-ai/dsh-subagent'
|
|
|
|
|
|
@@ -72,3 +74,10 @@
|
|
|
name: '@deepseek-ai/dsh-tool-subagent'
|
|
|
config:
|
|
|
provider: spawn
|
|
|
+ toolName: subagent
|
|
|
+
|
|
|
+- id: tool-subagent-fork
|
|
|
+ name: '@deepseek-ai/dsh-tool-subagent'
|
|
|
+ config:
|
|
|
+ provider: fork
|
|
|
+ toolName: subagent_fork
|