Skip to content

Commit 1097702

Browse files
authored
Don't open chat view when checking out copilot PR (#7458)
Fixes microsoft/vscode#255252
1 parent 064396a commit 1097702

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/commands.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import * as vscode from 'vscode';
99
import { Repository } from './api/api';
1010
import { GitErrorCodes } from './api/api1';
1111
import { CommentReply, findActiveHandler, resolveCommentHandler } from './commentHandlerResolver';
12-
import { COPILOT_LOGINS } from './common/copilot';
1312
import { commands } from './common/executeCommands';
1413
import Logger from './common/logger';
1514
import { FILE_LIST_LAYOUT, PR_SETTINGS_NAMESPACE } from './common/settingKeys';
@@ -604,14 +603,6 @@ export function registerCommands(
604603
pullRequestModel.githubRepository,
605604
repository
606605
)?.switch(pullRequestModel);
607-
608-
if (copilotRemoteAgentManager.enabled() && COPILOT_LOGINS.includes(pullRequestModel.author.login)) {
609-
vscode.commands.executeCommand('workbench.action.chat.open', {
610-
toolIds: [
611-
'github-pull-request_activePullRequest',
612-
]
613-
});
614-
}
615606
});
616607
};
617608

0 commit comments

Comments
 (0)