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 f0021fc commit cc60e38Copy full SHA for cc60e38
src/review/reviewer.ts
@@ -25,12 +25,7 @@ export const reviewDiff = async (
25
const ampConfig = config.amp;
26
27
// Format PR context for prompt
28
- const prDetailsContent = `
29
- Repository: ${prContext.repository_full_name}\n
30
- PR Number: ${prContext.pr_number}\n
31
- Commit SHA: ${prContext.commit_sha}\n
32
- PR URL: ${prContext.pr_url}\n
33
- `;
+ const prDetailsContent = `Repository: ${prContext.repository_full_name}\nPR Number: ${prContext.pr_number}\nCommit SHA: ${prContext.commit_sha}\nPR URL: ${prContext.pr_url}`;
34
35
const promptContent = ampConfig.prompt_template
36
.replace(/__PR_DETAILS_CONTENT__/g, prDetailsContent)
0 commit comments