File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/vs/workbench/contrib/chat/browser Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export class ChatPinnedContentPart extends ChatCollapsibleContentPart {
1919 context : IChatContentPartRenderContext ,
2020 ) {
2121 super ( nls . localize ( 'chat.pinned.thinking.header.base' , "Thinking..." ) , context ) ;
22- this . setExpanded ( true ) ;
22+ this . setExpanded ( false ) ;
2323 this . domNode . classList . add ( 'chat-thinking-box' ) ;
2424 this . domNode . tabIndex = 0 ;
2525
Original file line number Diff line number Diff line change @@ -745,7 +745,7 @@ export class ChatListItemRenderer extends Disposable implements ITreeRenderer<Ch
745745 const lastPart = findLast ( partsToRender , part => part . kind !== 'markdownContent' || part . content . value . trim ( ) . length > 0 ) ;
746746 if (
747747 ! lastPart ||
748- lastPart . kind === 'references' || lastPart . kind === 'thinking' ||
748+ lastPart . kind === 'references' || lastPart . kind === 'thinking' || this . shouldPinPart ( lastPart ) ||
749749 ( lastPart . kind === 'toolInvocation' && ( lastPart . isComplete || lastPart . presentation === 'hidden' ) ) ||
750750 ( ( lastPart . kind === 'textEditGroup' || lastPart . kind === 'notebookEditGroup' ) && lastPart . done && ! partsToRender . some ( part => part . kind === 'toolInvocation' && ! part . isComplete ) ) ||
751751 ( lastPart . kind === 'progressTask' && lastPart . deferred . isSettled ) ||
You can’t perform that action at this time.
0 commit comments