You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/core/src/amazonq/webview/ui/tabs/generator.ts
+24-2Lines changed: 24 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,18 @@ export class TabDataGenerator {
56
56
if(tabType==='welcome'){
57
57
return{}
58
58
}
59
+
constprogrammerModeCard: ChatItem|undefined={
60
+
type: ChatItemType.ANSWER,
61
+
title: 'NEW FEATURE',
62
+
header: {
63
+
icon: 'code-block',
64
+
iconStatus: 'primary',
65
+
body: '## Pair programmer mode',
66
+
},
67
+
fullWidth: true,
68
+
canBeDismissed: true,
69
+
body: 'Pair code with Amazon Q, your virtual pair programmer that can work alongside you autonomously making real-time code changes on your behalf. \n\n Switch off pair programmer mode to get read-only responses from Q.',
70
+
}
59
71
60
72
constregionProfileCard: ChatItem|undefined=
61
73
this.regionProfile===undefined
@@ -67,6 +79,15 @@ export class TabDataGenerator {
67
79
messageId: 'regionProfile',
68
80
}
69
81
82
+
constwelcomeMessage=`Hi! I'm Amazon Q.
83
+
84
+
You can ask me to:
85
+
• Create new projects and files
86
+
• Make changes to your codebase
87
+
• Explain how to do things
88
+
89
+
Enter \`/\` to view quick actions. Use \`@\` to add saved prompts, files, folders, or your entire workspace as context.`
0 commit comments