Skip to content

[codex] Hide empty subagent spawn errors#713

Merged
jahooma merged 1 commit into
mainfrom
jahooma/hide-subagent-tool-errors
May 21, 2026
Merged

[codex] Hide empty subagent spawn errors#713
jahooma merged 1 commit into
mainfrom
jahooma/hide-subagent-tool-errors

Conversation

@jahooma
Copy link
Copy Markdown
Contributor

@jahooma jahooma commented May 21, 2026

This updates CLI spawn_agents result rendering so failed spawn placeholders with no visible subagent output are hidden instead of shown as prominent failures. If a subagent already streamed content, the error remains inside that subagent and the block is marked complete to avoid an overly strong failure marker. The root cause was that spawn_agents error results were always converted into failed agent blocks. Validated with the focused sdk-event-handlers test and the CLI typecheck.

@jahooma jahooma merged commit 87f14aa into main May 21, 2026
35 checks passed
@jahooma jahooma deleted the jahooma/hide-subagent-tool-errors branch May 21, 2026 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant