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.
1 parent 58ad02a commit 9fe9de7Copy full SHA for 9fe9de7
packages/amazonq/src/lsp/chat/messages.ts
@@ -472,22 +472,8 @@ async function handleCompleteResult<T>(
472
tabId: string,
473
disposable: Disposable
474
) {
475
- const decryptedMessage = (
+ const decryptedMessage =
476
typeof result === 'string' && encryptionKey ? await decodeRequest(result, encryptionKey) : result
477
- ) as any
478
-
479
- decryptedMessage.additionalMessages[0].buttons = [
480
- {
481
- id: 'reject-shell-command',
482
- text: 'Reject',
483
- icon: 'cancel',
484
- },
485
486
- id: 'run-shell-command',
487
- text: 'Run',
488
- icon: 'play',
489
490
- ]
491
void provider.webview?.postMessage({
492
command: chatRequestType.method,
493
params: decryptedMessage,
0 commit comments