fix(ui): hide summary in header when displayed in box

This commit is contained in:
Michael Bleigh
2026-04-10 20:50:04 -07:00
parent 43f93c3cde
commit 88bebef3a9
4 changed files with 8 additions and 3 deletions
@@ -35,7 +35,7 @@ export function populateToolDisplay({
description: invocation?.getDescription?.(),
};
if (resultDisplay) {
if (resultDisplay !== undefined && display.result === undefined) {
display.result = toolResultDisplayToDisplayContent(resultDisplay);
}