File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
packages/core/src/codewhisperer/service/transformByQ Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import { createCodeWhispererChatStreamingClient } from '../../../shared/clients/
2121import { ChatSessionManager } from '../../../amazonqGumby/chat/storages/chatSession'
2222import { setContext } from '../../../shared/vscode/setContext'
2323import * as codeWhisperer from '../../client/codewhisperer'
24+ import { getOperatingSystem } from '../../../shared/telemetry/util'
2425
2526export abstract class ProposedChangeNode {
2627 abstract readonly resourcePath : string
@@ -425,6 +426,11 @@ export class ProposedTransformationExplorer {
425426 linesOfCodeSubmitted : transformByQState . getLinesOfCodeSubmitted ( ) , // currently unavailable for SQL conversions
426427 } ,
427428 } ,
429+ userContext : {
430+ ideCategory : 'VSCODE' ,
431+ operatingSystem : getOperatingSystem ( ) ,
432+ product : 'CodeWhisperer' ,
433+ } ,
428434 } )
429435 } catch ( err : any ) {
430436 // log error, but continue to show user diff.patch with results
You can’t perform that action at this time.
0 commit comments