Skip to content

Commit 629dcac

Browse files
authored
fix(amazonq): remove warning on empty inputs to inline chat (#5892)
This PR removes the notification when a query is empty, this was not intended to be added and the menu should simply close when the input is empty. License: I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 6ce3832 commit 629dcac

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Bug Fix",
3+
"description": "Remove warning when no input is provided to inline chat input box"
4+
}

packages/amazonq/src/inlineChat/controller/inlineChatController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export class InlineChatController {
191191
})
192192
.then(async (query) => {
193193
if (!query || query.trim() === '') {
194-
void vscode.window.showWarningMessage('Amazon Q: Instructions for cannot be empty')
194+
getLogger().info('inlineQuickPick query is empty')
195195
return
196196
}
197197

0 commit comments

Comments
 (0)