agent_ui: Add more improvements to the subagent UI (#50260)

This PR includes the following adjustments:

- Add divider in the full screen view to expose what part of a
subagent's output is actually sent to the parent model
- Auto-expand the subagent card if there's only one running on a turn
- Adjust errors display within the subagent card

Release Notes:

- N/A
This commit is contained in:
Danilo Leal authored and GitHub committed 2026-02-27 11:04:39 +01:00
1 parent 7cf55a2690
commit 64c2b3eaff
4 files changed
+176 -91

No files matched your search

+1 -1
View File
@@ -1403,7 +1403,7 @@ impl AgentDiff {
self.update_reviewing_editors(workspace, window, cx);
}
}
AcpThreadEvent::Stopped => {
AcpThreadEvent::Stopped(_) => {
self.update_reviewing_editors(workspace, window, cx);
}
AcpThreadEvent::Error | AcpThreadEvent::LoadError(_) | AcpThreadEvent::Refusal => {