fix: drop silent parent replies while subagents are pending (#69942)

Drop bare parent NO_REPLY payloads while spawned subagents are pending, preserving quiet parent turns until child completion delivers the real reply.\n\nThanks @neeravmakwana.
This commit is contained in:
Neerav Makwana
2026-04-22 15:04:38 -04:00
committed by GitHub
parent aee9f476c8
commit 5462d4d5c5
6 changed files with 145 additions and 1 deletions

View File

@@ -167,6 +167,10 @@ Defaults live under `agents.defaults.silentReply` and
`agents.defaults.silentReplyRewrite`; `surfaces.<id>.silentReply` and
`surfaces.<id>.silentReplyRewrite` can override them per surface.
When the parent session has one or more pending spawned subagent runs, bare
silent replies are dropped on all surfaces instead of being rewritten, so the
parent stays quiet until the child completion event delivers the real reply.
## Related
- [Streaming](/concepts/streaming) — real-time message delivery