File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
src/vs/workbench/contrib/chat Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -342,7 +342,11 @@ export class ChatListItemRenderer extends Disposable implements ITreeRenderer<Ch
342
342
}
343
343
344
344
templateData . detail . textContent = progressMsg ;
345
- templateData . detail . title = element . slashCommand ?. description ?? '' ;
345
+ if ( element . agent ) {
346
+ templateData . detail . title = progressMsg + ( element . slashCommand ?. description ? `\n${ element . slashCommand . description } ` : '' ) ;
347
+ } else {
348
+ templateData . detail . title = '' ;
349
+ }
346
350
}
347
351
348
352
private renderAvatar ( element : ChatTreeItem , templateData : IChatListItemTemplate ) : void {
Original file line number Diff line number Diff line change @@ -328,7 +328,7 @@ export class ChatResponseViewModel extends Disposable implements IChatResponseVi
328
328
return this . _usedReferencesExpanded ;
329
329
}
330
330
331
- return ! this . isComplete ;
331
+ return this . response . value . length === 0 ;
332
332
}
333
333
334
334
set usedReferencesExpanded ( v : boolean ) {
You can’t perform that action at this time.
0 commit comments