fix: expand tool calls by default when Response Style is Detailed (#8478)
Signed-off-by: Jiri Luzny <jiri.luzny@gmail.com> Co-authored-by: ximi <liyuan851277048@icloud.com>
This commit is contained in:
@@ -811,7 +811,7 @@ function ToolCallView({
|
||||
);
|
||||
return (
|
||||
<ToolCallExpandable
|
||||
isStartExpanded={isRenderingProgress}
|
||||
isStartExpanded={isRenderingProgress || isExpandToolDetails}
|
||||
isForceExpand={false}
|
||||
label={
|
||||
extensionTooltip ? (
|
||||
@@ -874,7 +874,7 @@ function ToolCallView({
|
||||
<>
|
||||
{toolResults.map((result, index) => (
|
||||
<div key={index} className={cn('border-t border-border-primary')}>
|
||||
<ToolResultView toolCall={toolCall} result={result} isStartExpanded={false} />
|
||||
<ToolResultView toolCall={toolCall} result={result} isStartExpanded={isExpandToolDetails} />
|
||||
</div>
|
||||
))}
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user