mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
fix(subagent): complete output selection contract
This commit is contained in:
@@ -2,5 +2,5 @@
|
||||
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
||||
# after editing either side, bring the other along and re-record with:
|
||||
# pnpm run verify-translation-pairing --write docs/subsystems/subagent.md
|
||||
subagent.md: d04e63246f2cd3f35792905574425b3013910b8a
|
||||
subagent.zh.md: 61f7330988820ddf86e7d2f8b1acc92b434768e6
|
||||
subagent.md: 273745057a750a0cdbd9c829e3922ed43398b861
|
||||
subagent.zh.md: 3d1bed59bee17900bc04156fb8bb854cab6ca1e0
|
||||
|
||||
@@ -294,10 +294,10 @@ The outcome of a one-shot run, resolved by `SubagentRun.result`. `structured` is
|
||||
*/
|
||||
interface SubagentResult {
|
||||
/**
|
||||
* The child's final assistant output: the content of the last NON-EMPTY
|
||||
* assistant message (an empty-content message hosts only usage and is
|
||||
* skipped), else the text streamed before the turn was cut short, or `[]`
|
||||
* when the child produced none.
|
||||
* The child's final assistant output is the content of its last non-empty
|
||||
* assistant message. Empty-content messages, including usage-only messages,
|
||||
* are skipped. Without a non-empty message, the output is its accumulated
|
||||
* assistant text stream, or `[]` when the child produced neither.
|
||||
*/
|
||||
readonly output: ContentBlock[]
|
||||
/**
|
||||
|
||||
@@ -294,10 +294,10 @@ type SubagentDescendantListEntry = SubagentListEntry & {
|
||||
*/
|
||||
interface SubagentResult {
|
||||
/**
|
||||
* The child's final assistant output: the content of the last NON-EMPTY
|
||||
* assistant message (an empty-content message hosts only usage and is
|
||||
* skipped), else the text streamed before the turn was cut short, or `[]`
|
||||
* when the child produced none.
|
||||
* The child's final assistant output is the content of its last non-empty
|
||||
* assistant message. Empty-content messages, including usage-only messages,
|
||||
* are skipped. Without a non-empty message, the output is its accumulated
|
||||
* assistant text stream, or `[]` when the child produced neither.
|
||||
*/
|
||||
readonly output: ContentBlock[]
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user