Skip to content

Commit

Permalink
fix(apps): correct formatting in error message (#154)
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Pokorný <[email protected]>
  • Loading branch information
JanPokorny authored Dec 17, 2024
1 parent e82efc7 commit bbfd730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/apps/builder/AppBuilder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ function AppBuilderContent() {
async (errorText: string) => {
await createMessage(organization.id, project.id, thread!.id, {
role: 'user',
content: `I have encountered the following error: \`\`\`error\n${errorText}\n\`\`\``,
content: `I have encountered the following error:\n\n\`\`\`error\n${errorText}\n\`\`\``,
metadata: encodeMetadata<MessageMetadata>({ type: 'report-error' }),
});
await sendMessage(`Help me fix the attached error.`);
Expand Down

0 comments on commit bbfd730

Please sign in to comment.