Skip to content

Commit 9c698ac

Browse files
committed
remove display text to match the figma design
1 parent 527077d commit 9c698ac

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

packages/compass-assistant/src/compass-assistant-provider.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,16 +111,13 @@ export const AssistantProvider: React.FunctionComponent<
111111
);
112112
const connectionError = error.toString();
113113

114-
const { prompt, displayText } = buildConnectionErrorPrompt({
114+
const { prompt } = buildConnectionErrorPrompt({
115115
connectionString,
116116
connectionError,
117117
});
118118
void chat.sendMessage(
119119
{
120120
text: prompt,
121-
metadata: {
122-
displayText,
123-
},
124121
},
125122
{}
126123
);

packages/compass-assistant/src/prompts.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,5 @@ ${connectionString}
2727
2828
Error message:
2929
${connectionError}`,
30-
displayText: 'Provide an explanation of this connection error.',
3130
};
3231
};

0 commit comments

Comments
 (0)