Skip to content

Commit

Permalink
use xml tags in prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
nexxeln committed Jun 28, 2024
1 parent 15224fa commit 1d7d631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ async function addLogsToCode(options: Options): Promise<string> {
},
{
role: 'user',
content: `Please add detailed logs to the following code to help debug repeated test failures:\n\n${options.priorCode}\n\nThe error you received on that code was:\n\n${options.lastRunError}`,
content: `Please add detailed logs to the following code to help debug repeated test failures:\n\n<code>${options.priorCode}</code>\n\nThe error you received on that code was:\n\n<error>${options.lastRunError}</error>`,
},
],
});
Expand Down

0 comments on commit 1d7d631

Please sign in to comment.