Skip to content

Commit

Permalink
Fix logging issue
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp-spiess committed Dec 20, 2023
1 parent ca5266a commit a1ac69e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vscode/src/chat/chat-view/SimpleChatPanelProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -544,10 +544,12 @@ export class SimpleChatPanelProvider implements vscode.Disposable, IChatPanelPro
return
}

const authStatus = this.authProvider.getAuthStatus()

const properties = {
requestID,
chatModel: this.chatModel.modelID,
promptText: text,
promptText: authStatus.endpoint && isDotCom(authStatus.endpoint) ? text : undefined,
contextSummary,
}
telemetryService.log('CodyVSCodeExtension:recipe:chat-question:executed', properties, {
Expand Down

0 comments on commit a1ac69e

Please sign in to comment.