We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 527077d commit 9c698acCopy full SHA for 9c698ac
packages/compass-assistant/src/compass-assistant-provider.tsx
@@ -111,16 +111,13 @@ export const AssistantProvider: React.FunctionComponent<
111
);
112
const connectionError = error.toString();
113
114
- const { prompt, displayText } = buildConnectionErrorPrompt({
+ const { prompt } = buildConnectionErrorPrompt({
115
connectionString,
116
connectionError,
117
});
118
void chat.sendMessage(
119
{
120
text: prompt,
121
- metadata: {
122
- displayText,
123
- },
124
},
125
{}
126
packages/compass-assistant/src/prompts.ts
@@ -27,6 +27,5 @@ ${connectionString}
27
28
Error message:
29
${connectionError}`,
30
- displayText: 'Provide an explanation of this connection error.',
31
};
32
0 commit comments