We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4e20d05 + 12eece1 commit f6b1161Copy full SHA for f6b1161
packages/amazonq/src/lsp/chat/messages.ts
@@ -53,6 +53,8 @@ import {
53
CancellationTokenSource,
54
chatUpdateNotificationType,
55
ChatUpdateParams,
56
+ chatOptionsUpdateType,
57
+ ChatOptionsUpdateParams,
58
} from '@aws/language-server-runtimes/protocol'
59
import { v4 as uuidv4 } from 'uuid'
60
import * as vscode from 'vscode'
@@ -486,6 +488,13 @@ export function registerMessageListeners(
486
488
params: params,
487
489
})
490
491
+
492
+ languageClient.onNotification(chatOptionsUpdateType.method, (params: ChatOptionsUpdateParams) => {
493
+ void provider.webview?.postMessage({
494
+ command: chatOptionsUpdateType.method,
495
+ params: params,
496
+ })
497
498
}
499
500
function isServerEvent(command: string) {
0 commit comments