From af5f898002598808ba7fcd1398ab0ef4fc3c6ae6 Mon Sep 17 00:00:00 2001 From: ximi Date: Mon, 6 Apr 2026 10:49:33 +0800 Subject: [PATCH] fix: expand tool calls by default when Response Style is Detailed When responseStyle is set to 'detailed', the ToolCallExpandable wrapper and ToolResultView should both start expanded. Previously, isStartExpanded for the wrapper was only set when rendering live progress, and ToolResultView always started collapsed regardless of the response style setting. Fixes #8213. --- ui/desktop/src/components/ToolCallWithResponse.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/desktop/src/components/ToolCallWithResponse.tsx b/ui/desktop/src/components/ToolCallWithResponse.tsx index 55849980910b..2d01886cd491 100644 --- a/ui/desktop/src/components/ToolCallWithResponse.tsx +++ b/ui/desktop/src/components/ToolCallWithResponse.tsx @@ -811,7 +811,7 @@ function ToolCallView({ ); return ( {toolResults.map((result, index) => (
- +
))}