Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1777,7 +1777,8 @@ export class ChatListItemRenderer extends Disposable implements ITreeRenderer<Ch
} else if (content.kind === 'markdownContent') {
return this.renderMarkdown(content, templateData, context);
} else if (content.kind === 'references') {
if (isResponseVM(context.element) && context.element.model.request?.modeInfo?.modeId === ChatModeKind.Agent) {
// Only show references for chat participants, not agents
if (isResponseVM(context.element) && context.element.agent?.isDefault && !context.element.agent.modes.includes(ChatModeKind.Ask)) {
return this.renderNoContent(other => other.kind === content.kind);
Comment thread
roblourens marked this conversation as resolved.
}
return this.renderContentReferencesListData(content, undefined, context, templateData);
Expand Down
Loading