Skip to content

Commit e37b521

Browse files
committed
fix(amazonq): flare clientId changes on every instance
1 parent 8a02d60 commit e37b521

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/amazonq/src/lsp/client.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ import {
3434
getOptOutPreference,
3535
isAmazonInternalOs,
3636
fs,
37+
getClientId,
3738
} from 'aws-core-vscode/shared'
3839
import { processUtils } from 'aws-core-vscode/shared'
3940
import { activate } from './chat/activation'
@@ -120,7 +121,7 @@ export async function startLanguageServer(
120121
name: 'AmazonQ-For-VSCode',
121122
version: '0.0.1',
122123
},
123-
clientId: crypto.randomUUID(),
124+
clientId: getClientId(globals.globalState),
124125
},
125126
awsClientCapabilities: {
126127
q: {

0 commit comments

Comments
 (0)