File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/vs/workbench/contrib/chat/browser Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -751,7 +751,7 @@ export class ChatListItemRenderer extends Disposable implements ITreeRenderer<Ch
751751 const lastPart = findLast ( partsToRender , part => part . kind !== 'markdownContent' || part . content . value . trim ( ) . length > 0 ) ;
752752 if (
753753 ! lastPart ||
754- lastPart . kind === 'references' || lastPart . kind === 'thinking' || this . shouldPinPart ( lastPart ) ||
754+ lastPart . kind === 'references' || lastPart . kind === 'thinking' || this . shouldPinPart ( lastPart , element ) ||
755755 ( lastPart . kind === 'toolInvocation' && ( lastPart . isComplete || lastPart . presentation === 'hidden' ) ) ||
756756 ( ( lastPart . kind === 'textEditGroup' || lastPart . kind === 'notebookEditGroup' ) && lastPart . done && ! partsToRender . some ( part => part . kind === 'toolInvocation' && ! part . isComplete ) ) ||
757757 ( lastPart . kind === 'progressTask' && lastPart . deferred . isSettled ) ||
You can’t perform that action at this time.
0 commit comments