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,