Skip to content

Commit a3be91a

Browse files
authored
fix working progress flickering (microsoft#263343)
1 parent 41657f4 commit a3be91a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/chat/browser/chatListRenderer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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) ||

0 commit comments

Comments
 (0)