Skip to content

Commit

Permalink
chore(participant): move docs references after content VSCODE-629 (#852)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anemy authored Oct 3, 2024
1 parent b127066 commit f99da1f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/participant/participant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand All @@ -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,
Expand Down

0 comments on commit f99da1f

Please sign in to comment.