From f99da1ffdf486c6c5a29c3d7c7e0fc6db652f9fd Mon Sep 17 00:00:00 2001 From: Rhys Date: Thu, 3 Oct 2024 11:50:03 -0400 Subject: [PATCH] chore(participant): move docs references after content VSCODE-629 (#852) --- src/participant/participant.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/participant/participant.ts b/src/participant/participant.ts index cd41b32e8..07c725ca0 100644 --- a/src/participant/participant.ts +++ b/src/participant/participant.ts @@ -1429,6 +1429,10 @@ export default class ParticipantController { stream, }); + if (docsResult.responseContent) { + stream.markdown(docsResult.responseContent); + } + if (docsResult.responseReferences) { for (const reference of docsResult.responseReferences) { this._streamResponseReference({ @@ -1438,10 +1442,6 @@ export default class ParticipantController { } } - if (docsResult.responseContent) { - stream.markdown(docsResult.responseContent); - } - this._telemetryService.trackCopilotParticipantResponse({ command: 'docs/chatbot', has_cta: !!docsResult.responseReferences,