Skip to content

Commit 82138b3

Browse files
authored
fix: remove examples from welcome message (#1040)
1 parent e5d2f6a commit 82138b3

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

chat-client/src/client/tabs/tabFactory.ts

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ export class TabFactory {
4848
Ask me to explain, debug, or optimize your code.
4949
You can enter \`/\` to see a list of quick actions.`,
5050
},
51-
{
52-
type: ChatItemType.ANSWER,
53-
followUp: this.getWelcomeBlock(),
54-
},
5551
]
5652
: chatMessages
5753
? (chatMessages as ChatItem[])
@@ -84,23 +80,6 @@ export class TabFactory {
8480
return tabData
8581
}
8682

87-
private getWelcomeBlock() {
88-
return {
89-
text: 'Try Examples:',
90-
options: [
91-
{
92-
pillText: 'Explain selected code',
93-
prompt: 'Explain selected code',
94-
type: 'init-prompt',
95-
},
96-
{
97-
pillText: 'How can Amazon Q help me?',
98-
type: 'help',
99-
},
100-
],
101-
}
102-
}
103-
10483
private getTabBarButtons(): TabBarMainAction[] | undefined {
10584
const tabBarButtons = [...(this.defaultTabData.tabBarButtons ?? [])]
10685

0 commit comments

Comments
 (0)