diff --git a/src/@types/vscode.proposed.chatParticipantAdditions.d.ts b/src/@types/vscode.proposed.chatParticipantAdditions.d.ts index 71520fa1ec..aa7001a3d2 100644 --- a/src/@types/vscode.proposed.chatParticipantAdditions.d.ts +++ b/src/@types/vscode.proposed.chatParticipantAdditions.d.ts @@ -105,6 +105,7 @@ declare module 'vscode' { isComplete?: boolean; toolSpecificData?: ChatTerminalToolInvocationData; fromSubAgent?: boolean; + presentation?: 'hidden' | 'hiddenAfterComplete' | undefined; constructor(toolName: string, toolCallId: string, isError?: boolean); } diff --git a/src/lm/tools/summarizeIssueTool.ts b/src/lm/tools/summarizeIssueTool.ts index a0c6fb71d8..182dba4a5f 100644 --- a/src/lm/tools/summarizeIssueTool.ts +++ b/src/lm/tools/summarizeIssueTool.ts @@ -87,6 +87,8 @@ When you summarize comments, always give a summary of each comment and always me joe: this is a comment +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. + 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. `; } diff --git a/src/lm/tools/summarizeNotificationsTool.ts b/src/lm/tools/summarizeNotificationsTool.ts index 7a4891f312..736b3ebeff 100644 --- a/src/lm/tools/summarizeNotificationsTool.ts +++ b/src/lm/tools/summarizeNotificationsTool.ts @@ -118,6 +118,8 @@ When you summarize comments, always give a summary of each comment and always me joe: this is a comment +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. + 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". 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. Example output: