Skip to content

Commit 7c54065

Browse files
author
David Hasani
committed
remove redundant userContext
1 parent ac37b5b commit 7c54065

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

packages/core/src/codewhisperer/service/transformByQ/transformationResultsViewProvider.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import { createCodeWhispererChatStreamingClient } from '../../../shared/clients/
2121
import { ChatSessionManager } from '../../../amazonqGumby/chat/storages/chatSession'
2222
import { setContext } from '../../../shared/vscode/setContext'
2323
import * as codeWhisperer from '../../client/codewhisperer'
24-
import { getOperatingSystem } from '../../../shared/telemetry/util'
2524

2625
export abstract class ProposedChangeNode {
2726
abstract readonly resourcePath: string
@@ -426,11 +425,6 @@ export class ProposedTransformationExplorer {
426425
linesOfCodeSubmitted: transformByQState.getLinesOfCodeSubmitted(), // currently unavailable for SQL conversions
427426
},
428427
},
429-
userContext: {
430-
ideCategory: 'VSCODE',
431-
operatingSystem: getOperatingSystem(),
432-
product: 'CodeWhisperer',
433-
},
434428
})
435429
} catch (err: any) {
436430
// log error, but continue to show user diff.patch with results

0 commit comments

Comments
 (0)