Skip to content

Commit 79b88e7

Browse files
Copilotrebornix
andauthored
Remove redundant "Open Changes" button from Copilot remote agent chat response (#7434)
* Initial plan * Remove redundant "Open Changes" button from Copilot remote agent chat response The multi-file diff part already provides inline file changes viewing, making the separate "Open Changes" button redundant. This change removes the button from the streamSessionLogs method while keeping the multi-file diff functionality intact. Co-authored-by: rebornix <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: rebornix <[email protected]>
1 parent 7333b3c commit 79b88e7

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/github/copilotRemoteAgent.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1201,12 +1201,6 @@ export class CopilotRemoteAgentManager extends Disposable {
12011201
stream.push(multiDiffPart);
12021202
}
12031203

1204-
stream.push(new vscode.ChatResponseCommandButtonPart({
1205-
title: vscode.l10n.t('Open Changes'),
1206-
command: 'pr.openChanges',
1207-
arguments: [pullRequest]
1208-
}));
1209-
12101204
resolve();
12111205
};
12121206

0 commit comments

Comments
 (0)