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 b3ee536 commit 9a9d79dCopy full SHA for 9a9d79d
frontend/src/pages/Chat/utils/feedbackHelper.ts
@@ -14,7 +14,7 @@ function sanitizeText(str: string) {
14
15
export default async function sendFeedback(
16
messages: IMessage[],
17
- userFeedback: string
+ userFeedback: string,
18
) {
19
if (messages.length < 2) return;
20
@@ -23,7 +23,7 @@ export default async function sendFeedback(
23
({ role, content }) =>
24
`<p><strong>${
25
role.charAt(0).toUpperCase() + role.slice(1)
26
- }</strong>: ${sanitizeText(content)}</p>`
+ }</strong>: ${sanitizeText(content)}</p>`,
27
)
28
.join("");
29
0 commit comments