You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/lm/tools/summarizeIssueTool.ts
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,7 @@ Patch: ${fileChange.patch}
45
45
for(const[index,comment]ofcomments.entries()){
46
46
issueOrPullRequestInfo+=`
47
47
Comment ${index} :
48
+
Author: ${comment.author}
48
49
Body: ${comment.body}
49
50
`;
50
51
}
@@ -71,7 +72,8 @@ Body: ${comment.body}
71
72
You are an AI assistant who is very proficient in summarizing issues and PRs.
72
73
You will be given information relative to an issue or PR : the title, the body and the comments. In the case of a PR you will also be given patches of the PR changes.
73
74
Your task is to output a summary of all this information.
74
-
Do not output code. When you try to summarize PR changes, write in a textual format.
75
+
Do not output code. When you try to summarize PR changes, summarize in a textual format.
76
+
When you summarize comments, give a summary of each comment and mention the author clearly.
75
77
Make sure the summary is at least as short or shorter than the issue or PR with the comments and the patches if there are.
0 commit comments