Skip to content

Commit 5be1a65

Browse files
Copilotalexr00
andcommitted
Changes before error encountered
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
1 parent f2dcf6b commit 5be1a65

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/lm/tools/summarizeIssueTool.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ When you summarize comments, always give a summary of each comment and always me
8787
8888
joe: this is a comment
8989
90+
If the content contains images in Markdown format (e.g., ![alt text](image-url)), always preserve them in the output exactly as they appear. Images are important visual content and should not be removed or summarized.
91+
9092
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.
9193
`;
9294
}

src/lm/tools/summarizeNotificationsTool.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ When you summarize comments, always give a summary of each comment and always me
118118
119119
joe: this is a comment
120120
121+
If the content contains images in Markdown format (e.g., ![alt text](image-url)), always preserve them in the output exactly as they appear. Images are important visual content and should not be removed or summarized.
122+
121123
Always include in your output, which part of the thread is unread by prefixing that part with the markdown heading of level 1 with text "Unread Thread" or "Unread Comments".
122124
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.
123125
Example output:

0 commit comments

Comments
 (0)