docs(subagent): align return guidance and naming failures
This commit is contained in:
1 parent
06d921cc29
commit
ded397b5d1
17 files changed
+46
-42
No files matched your search
@@ -69,8 +69,8 @@
|
||||
en: 75d061c2151624a7
|
||||
zh: 71e58e020b60ff90
|
||||
/deepseek-ai-dsh-subagent-acp/model-experience/parent-tool-result-indirectly/what-the-model-sees:
|
||||
en: 5e4e3efe7517f782
|
||||
zh: 0465e164583f6bc3
|
||||
en: 6701b501bbdd3039
|
||||
zh: 6e5002a686ade00c
|
||||
/deepseek-ai-dsh-subagent-acp/model-experience/parent-tool-result-indirectly/token-effect:
|
||||
en: 4fae54e2ff0c4874
|
||||
zh: 1574bfe874f66a1f
|
||||
|
||||
@@ -138,7 +138,7 @@ Independent of the parent request cache. Each ACP child can reuse only prefixes
|
||||
|
||||
#### What the model sees
|
||||
|
||||
Through `dsh-tool-subagent`, the parent model first receives a child id, then a completion notice containing final or partial assistant text, the stop reason, and safe diagnostic. The parent Session independently retains the external task identity and complete terminal result. Intermediate messages and tool traffic do not enter the parent Session.
|
||||
Through `dsh-tool-subagent`, the parent model first receives a full child path, then a completion notice containing final or partial assistant text, the stop reason, and safe diagnostic. The parent Session independently retains the external task identity and complete terminal result. Intermediate messages and tool traffic do not enter the parent Session.
|
||||
|
||||
#### Token effect
|
||||
|
||||
|
||||
@@ -138,7 +138,7 @@ spawn、初始化或新建会话失败会在发布前拒绝,通常先证明 ma
|
||||
|
||||
#### 模型看到什么
|
||||
|
||||
通过 `dsh-tool-subagent`,父模型先收到 child id,随后收到含最终或部分 assistant 文本、停止原因与安全诊断的完成通知。父会话独立保存外部任务身份和完整终态结果。中间消息与工具通信不进入父会话。
|
||||
通过 `dsh-tool-subagent`,父模型先收到子级完整路径,随后收到含最终或部分 assistant 文本、停止原因与安全诊断的完成通知。父会话独立保存外部任务身份和完整终态结果。中间消息与工具通信不进入父会话。
|
||||
|
||||
#### Token 影响
|
||||
|
||||
|
||||
@@ -69,8 +69,8 @@
|
||||
en: 75d061c2151624a7
|
||||
zh: 71e58e020b60ff90
|
||||
/deepseek-ai-dsh-subagent-dsh-sdk/model-experience/parent-tool-result-indirectly/what-the-model-sees:
|
||||
en: 5e4e3efe7517f782
|
||||
zh: 0465e164583f6bc3
|
||||
en: 6701b501bbdd3039
|
||||
zh: 6e5002a686ade00c
|
||||
/deepseek-ai-dsh-subagent-dsh-sdk/model-experience/parent-tool-result-indirectly/token-effect:
|
||||
en: 4fae54e2ff0c4874
|
||||
zh: 1574bfe874f66a1f
|
||||
|
||||
@@ -151,7 +151,7 @@ Independent of the parent request cache. Each SDK child can reuse only prefixes
|
||||
|
||||
#### What the model sees
|
||||
|
||||
Through `dsh-tool-subagent`, the parent model first receives a child id, then a completion notice containing final or partial assistant text, the stop reason, and safe diagnostic. The parent Session independently retains the external task identity and complete terminal result. Intermediate messages and tool traffic do not enter the parent Session.
|
||||
Through `dsh-tool-subagent`, the parent model first receives a full child path, then a completion notice containing final or partial assistant text, the stop reason, and safe diagnostic. The parent Session independently retains the external task identity and complete terminal result. Intermediate messages and tool traffic do not enter the parent Session.
|
||||
|
||||
#### Token effect
|
||||
|
||||
|
||||
@@ -151,7 +151,7 @@ kind: "package-reference"
|
||||
|
||||
#### 模型看到什么
|
||||
|
||||
通过 `dsh-tool-subagent`,父模型先收到 child id,随后收到含最终或部分 assistant 文本、停止原因与安全诊断的完成通知。父会话独立保存外部任务身份和完整终态结果。中间消息与工具通信不进入父会话。
|
||||
通过 `dsh-tool-subagent`,父模型先收到子级完整路径,随后收到含最终或部分 assistant 文本、停止原因与安全诊断的完成通知。父会话独立保存外部任务身份和完整终态结果。中间消息与工具通信不进入父会话。
|
||||
|
||||
#### Token 影响
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
zh: 93f8cc2b60975d42
|
||||
/deepseek-ai-dsh-subagent-fork-in-process/use-this-package/what-a-fork-delegation-does:
|
||||
en: 461063deda821a1b
|
||||
zh: 18d2d41d64884f22
|
||||
zh: f670dd8e02f4dda8
|
||||
/deepseek-ai-dsh-subagent-fork-in-process/understand-the-implementation:
|
||||
en: 6a0fe4b9cc780aaa
|
||||
zh: 50cd69ceb8296827
|
||||
@@ -42,8 +42,8 @@
|
||||
en: cca92ec964b4314b
|
||||
zh: edd8ecd4b59dbe8f
|
||||
/deepseek-ai-dsh-subagent-fork-in-process/understand-the-implementation/lifecycle-binding:
|
||||
en: 8dad0155ed1b32d2
|
||||
zh: f4d82d5ede03c4d7
|
||||
en: cf98608d58f48e1d
|
||||
zh: 33df2906a7455406
|
||||
/deepseek-ai-dsh-subagent-fork-in-process/further-exploration:
|
||||
en: 29ea6e0669b665a8
|
||||
zh: 46d435e79d356898
|
||||
@@ -60,14 +60,14 @@
|
||||
en: 19b588baaa87126b
|
||||
zh: 7010e93bbe7d71ba
|
||||
/deepseek-ai-dsh-subagent-fork-in-process/model-experience/child-agent-history-and-envelope/kv-cache-effect:
|
||||
en: 1e8f8bbab3052b39
|
||||
zh: 1efff4da78d60ef9
|
||||
en: 73aaa304d59e9b72
|
||||
zh: 3c344b320a92b79e
|
||||
/deepseek-ai-dsh-subagent-fork-in-process/model-experience/parent-tool-result-indirectly:
|
||||
en: 75d061c2151624a7
|
||||
zh: 71e58e020b60ff90
|
||||
/deepseek-ai-dsh-subagent-fork-in-process/model-experience/parent-tool-result-indirectly/what-the-model-sees:
|
||||
en: 54d10ba4da6cdece
|
||||
zh: bb9cb4d685098483
|
||||
en: fe707d30cf157f6b
|
||||
zh: 83bde8b2c0089394
|
||||
/deepseek-ai-dsh-subagent-fork-in-process/model-experience/parent-tool-result-indirectly/token-effect:
|
||||
en: 8c81bab3c5d6a38a
|
||||
zh: 44c798432a4bfdfb
|
||||
|
||||
@@ -83,7 +83,7 @@ This backend supplies the balanced completed-turn prefix of the parent log as th
|
||||
|
||||
### Lifecycle binding
|
||||
|
||||
The delegation tool creates a background activation and returns a stable child session id. Parent and child share the same messaging tool definitions and ordering; the parent id and return guidance follow inherited history in the initial task. Workflows await results with caller delivery and send no completion notice to the parent.
|
||||
The delegation tool creates a background activation and returns a stable full child path. Parent and child share the same messaging tool definitions and ordering; the parent path and return guidance follow inherited history in the initial task. Workflows await results with caller delivery and send no completion notice to the parent.
|
||||
|
||||
</details>
|
||||
|
||||
@@ -117,13 +117,13 @@ Forking duplicates retained completed history into the child's request, which th
|
||||
|
||||
#### KV Cache effect
|
||||
|
||||
The child may reuse the inherited byte-identical prefix under the same provider and model. Structured output, generated-SDK, route changes, or historical descriptor overrides on cold resume can invalidate reuse before inherited history; later child history is append-only. Continuable messaging adds no child-only system-prompt section or tool schema; the parent id and return guidance follow inherited history in the initial user task ([cache-preserving fork Agent Note](../../../.agents/notes/implemented/architecture/2026-08-10-fork-children-stay-one-shot.md)).
|
||||
The child may reuse the inherited byte-identical prefix under the same provider and model. Structured output, generated-SDK, route changes, or historical descriptor overrides on cold resume can invalidate reuse before inherited history; later child history is append-only. Continuable messaging adds no child-only system-prompt section or tool schema; the parent path and return guidance follow inherited history in the initial user task ([cache-preserving fork Agent Note](../../../.agents/notes/implemented/architecture/2026-08-10-fork-children-stay-one-shot.md)).
|
||||
|
||||
### Parent tool result, indirectly
|
||||
|
||||
#### What the model sees
|
||||
|
||||
Through `dsh-tool-subagent`, the parent first receives the child session id, then a completion notice with its final answer. Child-authored messages arrive through `send_message`; the inherited prefix and internal work remain in the child session.
|
||||
Through `dsh-tool-subagent`, the parent first receives the full child path, then a completion notice with its final answer. Child-authored messages arrive through `send_message`; the inherited prefix and internal work remain in the child session.
|
||||
|
||||
#### Token effect
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ kind: "package-reference"
|
||||
|
||||
### 一次 fork 委派会做什么
|
||||
|
||||
一次工具调用创建后台子 agent 并立即返回子会话 ID。子级在自己的会话中工作,父级通过完成通知收到其最终答案。子级也可以通过 `send_message` 发送消息。被拒绝的启动不会留下已发布的子 agent;工作流等程序调用方可以直接等待 activation 的结果。
|
||||
一次工具调用创建后台子 agent 并立即返回子级完整路径。子级在自己的会话中工作,父级通过完成通知收到其最终答案。子级也可以通过 `send_message` 发送消息。被拒绝的启动不会留下已发布的子 agent;工作流等程序调用方可以直接等待 activation 的结果。
|
||||
|
||||
-----
|
||||
|
||||
@@ -83,7 +83,7 @@ kind: "package-reference"
|
||||
|
||||
### 生命周期绑定
|
||||
|
||||
委派工具以后台 activation 创建子级,并返回稳定的子会话 ID。父级与子级共享相同的消息工具定义及顺序;父级 ID 与返回指导位于继承历史之后的初始任务中。工作流以调用方收集模式等待结果,不向父级发送完成通知。
|
||||
委派工具以后台 activation 创建子级,并返回稳定的子级完整路径。父级与子级共享相同的消息工具定义及顺序;父级路径与返回指导位于继承历史之后的初始任务中。工作流以调用方收集模式等待结果,不向父级发送完成通知。
|
||||
|
||||
</details>
|
||||
|
||||
@@ -117,13 +117,13 @@ fork 会把保留的已完成历史复制到子 agent 的请求中,子 agent
|
||||
|
||||
#### KV Cache 影响
|
||||
|
||||
在提供方与模型相同的前提下,子 agent 可以复用继承的逐字节相同前缀。结构化输出、生成 SDK、路由变化,或冷恢复时的历史 descriptor 覆盖,可能在继承历史之前使复用失效;后续子 agent 历史仅追加。可继续消息不会增加子级专属的系统提示词区段或工具 schema;父级 ID 与返回指导在初始用户任务中位于继承历史之后(见[保持 fork 缓存的 Agent Note](../../../.agents/notes/implemented/architecture/2026-08-10-fork-children-stay-one-shot.zh.md))。
|
||||
在提供方与模型相同的前提下,子 agent 可以复用继承的逐字节相同前缀。结构化输出、生成 SDK、路由变化,或冷恢复时的历史 descriptor 覆盖,可能在继承历史之前使复用失效;后续子 agent 历史仅追加。可继续消息不会增加子级专属的系统提示词区段或工具 schema;父级路径与返回指导在初始用户任务中位于继承历史之后(见[保持 fork 缓存的 Agent Note](../../../.agents/notes/implemented/architecture/2026-08-10-fork-children-stay-one-shot.zh.md))。
|
||||
|
||||
### 父级工具结果(间接)
|
||||
|
||||
#### 模型看到什么
|
||||
|
||||
父级通过 `dsh-tool-subagent` 先收到子会话 ID,随后收到包含最终答案的完成通知。子级自行编写的消息通过 `send_message` 到达;继承的前缀与内部工作保留在子会话中。
|
||||
父级通过 `dsh-tool-subagent` 先收到子级完整路径,随后收到包含最终答案的完成通知。子级自行编写的消息通过 `send_message` 到达;继承的前缀与内部工作保留在子会话中。
|
||||
|
||||
#### Token 影响
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
zh: e0f2ac931cfbef95
|
||||
/deepseek-ai-dsh-subagent-spawn-in-process/use-this-package/what-a-delegation-does:
|
||||
en: 0c90404ed53cf451
|
||||
zh: 161e38b7d7c10182
|
||||
zh: be61adc10d179e52
|
||||
/deepseek-ai-dsh-subagent-spawn-in-process/understand-the-implementation:
|
||||
en: 7f34637751939818
|
||||
zh: 2937553168e1aee5
|
||||
@@ -63,8 +63,8 @@
|
||||
en: 75d061c2151624a7
|
||||
zh: 71e58e020b60ff90
|
||||
/deepseek-ai-dsh-subagent-spawn-in-process/model-experience/parent-tool-result-indirectly/what-the-model-sees:
|
||||
en: caf11edef2516b8c
|
||||
zh: 25bcb16cceaad06d
|
||||
en: f4374f96c2d40e70
|
||||
zh: 78853bf4416bc18d
|
||||
/deepseek-ai-dsh-subagent-spawn-in-process/model-experience/parent-tool-result-indirectly/token-effect:
|
||||
en: ff8045aa0f466c2a
|
||||
zh: e38fc5c6af2ce076
|
||||
|
||||
@@ -120,7 +120,7 @@ The child's request cache is independent of the parent's. Child history grows ap
|
||||
|
||||
#### What the model sees
|
||||
|
||||
Through `dsh-tool-subagent`, the parent first receives the child session id, then a completion notice with its final answer. Child-authored messages arrive through `send_message`. Internal child tool calls remain in the child session.
|
||||
Through `dsh-tool-subagent`, the parent first receives the full child path, then a completion notice with its final answer. Child-authored messages arrive through `send_message`. Internal child tool calls remain in the child session.
|
||||
|
||||
#### Token effect
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ kind: "package-reference"
|
||||
|
||||
### 一次委派会做什么
|
||||
|
||||
一次工具调用创建后台子 agent 并立即返回子会话 ID。子级在自己的会话中工作,父级通过完成通知收到其最终答案。子级也可以通过 `send_message` 发送消息。被拒绝的启动不会留下已发布的子 agent;工作流等程序调用方可以直接等待 activation 的结果。
|
||||
一次工具调用创建后台子 agent 并立即返回子级完整路径。子级在自己的会话中工作,父级通过完成通知收到其最终答案。子级也可以通过 `send_message` 发送消息。被拒绝的启动不会留下已发布的子 agent;工作流等程序调用方可以直接等待 activation 的结果。
|
||||
|
||||
显式 `agentPreset` 独立选择当前注册的 preset;省略时加入父方的活跃代际。只有 spawn 支持此选择。persona 与工具放在 [preset 定义](../../preset/agent-preset-registry/README.zh.md)中。冷恢复遵守共享的[子级组装规则](../subagent/README.zh.md#restoring-child-composition)。
|
||||
|
||||
@@ -120,7 +120,7 @@ kind: "package-reference"
|
||||
|
||||
#### 模型看到什么
|
||||
|
||||
通过 `dsh-tool-subagent`,父级先收到子会话 ID,随后收到包含最终答案的完成通知。子级自行编写的消息通过 `send_message` 到达。子级内部工具调用保留在子会话中。
|
||||
通过 `dsh-tool-subagent`,父级先收到子级完整路径,随后收到包含最终答案的完成通知。子级自行编写的消息通过 `send_message` 到达。子级内部工具调用保留在子会话中。
|
||||
|
||||
#### Token 影响
|
||||
|
||||
|
||||
@@ -36,8 +36,8 @@
|
||||
en: 4c91b1d897ff73fa
|
||||
zh: 0c65fb3bb7de1244
|
||||
/deepseek-ai-dsh-subagent/use-this-package/failure-and-recovery:
|
||||
en: 896bf2515524c01f
|
||||
zh: 1f1413710e58e4f6
|
||||
en: 3f241bae7be8d0b2
|
||||
zh: 6b0de7bf79c589aa
|
||||
/deepseek-ai-dsh-subagent/understand-the-implementation:
|
||||
en: 74d91b364b23f88d
|
||||
zh: 19cc558105efe8df
|
||||
@@ -81,14 +81,14 @@
|
||||
en: 710ebcdce8e283e2
|
||||
zh: cc07cf31e572b0cf
|
||||
/deepseek-ai-dsh-subagent/model-experience/continuable-child-return-guidance/what-the-model-sees:
|
||||
en: b272fe4cadba9670
|
||||
zh: 6930e4e4f9d41f9f
|
||||
en: 16a7dd7fa7694e45
|
||||
zh: 0a4e8690f417c4f4
|
||||
/deepseek-ai-dsh-subagent/model-experience/continuable-child-return-guidance/what-the-model-sees/return-guidance:
|
||||
en: 24538ab91a15b0e4
|
||||
zh: 86f96219c94ee1b1
|
||||
/deepseek-ai-dsh-subagent/model-experience/continuable-child-return-guidance/token-effect:
|
||||
en: 99ed611311c93eca
|
||||
zh: 7cf9c775cda04a52
|
||||
en: 5bddb194b2b04350
|
||||
zh: 25498bf10edac612
|
||||
/deepseek-ai-dsh-subagent/model-experience/continuable-child-return-guidance/kv-cache-effect:
|
||||
en: 7078382a73f743f7
|
||||
zh: 1431825f5568a96b
|
||||
|
||||
@@ -73,6 +73,8 @@ In-process spawn accepts an independent `agentPreset`; fork and external backend
|
||||
|
||||
### Failure and recovery
|
||||
|
||||
Name admission rejects invalid segments with `INVALID_AGENT_NAME` and occupied siblings with `DUPLICATE_AGENT_NAME`; choose a valid unused segment or omit it. Lookup reports `AGENT_NAME_NOT_FOUND` for an absent path: rediscover with `list_agents`. `CORRUPT_AGENT_NAMES` means a parent catalog has ambiguous assignments and needs repair. `AGENT_TREE_UNAVAILABLE` means the required live ancestry is missing or changed during creation; restore the root before retrying.
|
||||
|
||||
Starting without the `agents` service rejects with `CONTINUATION_UNAVAILABLE`; an available runtime rejects a missing or replaced parent with `UNAUTHORIZED`. Providers implementing neither execution method are rejected at registration with `UNSUPPORTED_CAPABILITY`; unsupported requested capabilities reject creation with the same code. The caller signal cancels only unpublished work; after publication, `dispose()` cancels the exact activation and waits for its resource cleanup. Creation descendants continue independently; hosts must await `drainDescendants([root])` before disposing the root handle to stop all members and await pending startup. `result` settles after teardown and notifications, carrying output, optional structured data, and a stop reason; capture failures reject it after teardown. Cleanup failures reject `dispose()` and mark the lifecycle end as failed; the result promise and parent notification retain the captured execution result.
|
||||
|
||||
-----
|
||||
@@ -181,17 +183,17 @@ Append-only in the parent: the notice follows its reusable request prefix. Reach
|
||||
|
||||
#### What the model sees
|
||||
|
||||
The child's initial task includes the guidance below, with `<parent-id>` replaced by its JSON-encoded parent Session id. The child places its result and evidence in its final answer; an intermediate message serves findings that change the parent's next action.
|
||||
The child's initial task includes the guidance below, with `<child-name>` and `<parent-name>` replaced by JSON-encoded full paths. The child places its result and evidence in its final answer; an intermediate message serves findings that change the parent's next action.
|
||||
|
||||
##### Return guidance
|
||||
|
||||
```markdown
|
||||
Your parent agent id is <parent-id>. Your final answer is delivered automatically if your parent is still online. Include the result and relevant evidence in that answer; the parent does not receive your full transcript, tool output, or reasoning. Use send_message({ name: <parent-name>, message: "<finding>" }) when a finding changes what the parent should do next; sending a message does not end your turn.
|
||||
Your name is <child-name>. Your parent agent name is <parent-name>. Your final answer is delivered automatically if your parent is still online. Include the result and relevant evidence in that answer; the parent does not receive your full transcript, tool output, or reasoning. Use send_message({ name: <parent-name>, message: "<finding>" }) when a finding changes what the parent should do next; sending a message does not end your turn.
|
||||
```
|
||||
|
||||
#### Token effect
|
||||
|
||||
One guidance block in each continuable child's initial task, naming its parent twice.
|
||||
One guidance block in each continuable child's initial task, containing its own path once and its parent's path twice.
|
||||
|
||||
#### KV Cache effect
|
||||
|
||||
|
||||
@@ -73,6 +73,8 @@ agent 名字是不可变的路径段,只在同一父级的直接子级中唯
|
||||
|
||||
### 失败与恢复
|
||||
|
||||
名字准入以 `INVALID_AGENT_NAME` 拒绝非法片段,以 `DUPLICATE_AGENT_NAME` 拒绝同级已占用名字;选择合法且未占用的片段,或省略名字。查询不存在的路径时报告 `AGENT_NAME_NOT_FOUND`:通过 `list_agents` 重新发现。`CORRUPT_AGENT_NAMES` 表示父级 catalog 存在歧义分配,需要修复。`AGENT_TREE_UNAVAILABLE` 表示所需在线祖先缺失或在创建期间发生变化;恢复根后再重试。
|
||||
|
||||
缺少 `agents` 服务时,启动请求以 `CONTINUATION_UNAVAILABLE` 拒绝;运行时可用但父级缺失或被替换时,以 `UNAUTHORIZED` 拒绝。未实现任何执行方法的提供方会在注册时以 `UNSUPPORTED_CAPABILITY` 被拒绝;请求不受支持的能力会以同一码使创建失败。调用方信号仅取消尚未发布的工作;发布后通过 `dispose()` 取消该次 activation,并等待其资源清理完成。创建后代独立继续运行;宿主必须在释放根句柄前等待 `drainDescendants([root])`,以停止所有成员并等待正在启动的工作。`result` 在清理与通知结束后完成,携带输出、可选结构化数据与停止原因;结果捕获故障在清理后使其拒绝。清理失败使 `dispose()` 拒绝,并将生命周期结束事件标记为失败;结果 promise 与父级通知保留已捕获的执行结果。
|
||||
|
||||
-----
|
||||
@@ -181,17 +183,17 @@ agent 名字是不可变的路径段,只在同一父级的直接子级中唯
|
||||
|
||||
#### 模型看到什么
|
||||
|
||||
子级初始任务包含以下指导,其中 `<parent-id>` 替换为 JSON 编码的父级 Session id。子级在最终回答中提供结果和证据;中途消息用于报告会改变父级下一步操作的发现。
|
||||
子级初始任务包含以下指导,其中 `<child-name>` 和 `<parent-name>` 替换为 JSON 编码的完整路径。子级在最终回答中提供结果和证据;中途消息用于报告会改变父级下一步操作的发现。
|
||||
|
||||
##### 返回指导
|
||||
|
||||
```markdown
|
||||
Your parent agent id is <parent-id>. Your final answer is delivered automatically if your parent is still online. Include the result and relevant evidence in that answer; the parent does not receive your full transcript, tool output, or reasoning. Use send_message({ name: <parent-name>, message: "<finding>" }) when a finding changes what the parent should do next; sending a message does not end your turn.
|
||||
Your name is <child-name>. Your parent agent name is <parent-name>. Your final answer is delivered automatically if your parent is still online. Include the result and relevant evidence in that answer; the parent does not receive your full transcript, tool output, or reasoning. Use send_message({ name: <parent-name>, message: "<finding>" }) when a finding changes what the parent should do next; sending a message does not end your turn.
|
||||
```
|
||||
|
||||
#### Token 影响
|
||||
|
||||
每个可继续执行子级的初始任务增加一个指导块,其中两次写出父级 id。
|
||||
每个可继续执行子级的初始任务增加一个指导块,其中一次写出自身路径,两次写出父级路径。
|
||||
|
||||
#### KV Cache 影响
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
zh: d25d6569174a01b5
|
||||
/deepseek-ai-dsh-tool-subagent/summary:
|
||||
en: 687fc30b7ff74abe
|
||||
zh: 91c1bbe5557bdda9
|
||||
zh: 694024f7c10662e3
|
||||
/deepseek-ai-dsh-tool-subagent/table-of-contents:
|
||||
en: d152484eb41ac6b4
|
||||
zh: 09388d293f9be9cb
|
||||
|
||||
@@ -9,7 +9,7 @@ kind: "package-reference"
|
||||
|
||||
## 概述
|
||||
|
||||
使用本包可为 agent 提供具名工具,把工作委派给配置的后端。每次调用都会启动受管理的 activation 并返回子任务 id;运行时负责完成通知与清理。本地子任务支持消息和恢复,外部后端执行一次任务,并通过完成通知返回最终回答。受支持的后端可以公开获准的子级 LLM 路由。每个实例可选择子级 preset 和深度限制。
|
||||
使用本包可为 agent 提供具名工具,把工作委派给配置的后端。每次调用都会启动受管理的 activation 并返回子任务完整路径;运行时负责完成通知与清理。本地子任务支持消息和恢复,外部后端执行一次任务,并通过完成通知返回最终回答。受支持的后端可以公开获准的子级 LLM 路由。每个实例可选择子级 preset 和深度限制。
|
||||
|
||||
## 目录
|
||||
|
||||
|
||||
Reference in new issue
Block a user