Skip to content

Commit 2dd512a

Browse files
committed
fix(amazonq): agent tabs open with prompt options
1 parent bb11bd9 commit 2dd512a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
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": "Named agent tabs sometimes open with unnecessary input options"
4+
}

packages/core/src/amazonq/webview/ui/quickActions/handler.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,8 @@ export class QuickActionHandler {
355355
loadingChat: true,
356356
cancelButtonWhenLoading: false,
357357
})
358+
} else {
359+
this.mynahUI.updateStore(affectedTabId, { promptInputOptions: [] })
358360
}
359361

360362
if (affectedTabId && this.isHybridChatEnabled) {

0 commit comments

Comments
 (0)