Skip to content

Commit 0fa2b26

Browse files
authored
fix(amazonq): @-prompts not added to context
## Problem `@Prompts` not being sent to context due to change in [last week's release](https://github.com/aws/aws-toolkit-vscode/pull/6831/files#r2021948984) ## Solution Add 'file' label to user prompts
1 parent dc9b623 commit 0fa2b26

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-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": "Amazon Q chat: `@prompts` not added to context"
4+
}

packages/core/src/codewhispererChat/controllers/chat/controller.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,7 @@ export class ChatController {
498498
command: path.basename(name, promptFileExtension),
499499
icon: 'magic' as MynahIconsType,
500500
id: 'prompt',
501+
label: 'file' as ContextCommandItemType,
501502
route: [userPromptsDirectory, name],
502503
}))
503504
)

0 commit comments

Comments
 (0)