Skip to content

Commit 2fc1786

Browse files
authored
Remove invocation confirmation for activePullRequest tool (#7163)
1 parent 53ae22d commit 2fc1786

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/lm/tools/activePullRequestTool.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,7 @@ export class ActivePullRequestTool implements vscode.LanguageModelTool<FetchIssu
3333

3434
async prepareInvocation(): Promise<vscode.PreparedToolInvocation> {
3535
const pullRequest = this._findActivePullRequest();
36-
let confirmationMessages: vscode.LanguageModelToolConfirmationMessages | undefined;
37-
if (this.shouldIncludeCodingAgentSession(pullRequest)) {
38-
confirmationMessages = {
39-
title: vscode.l10n.t('Fetching coding agent session logs for pull request "{0}"', pullRequest?.title || ''),
40-
message: vscode.l10n.t('This will fetch the coding agent session logs for the active pull request. The logs will be summarized and provided as context for the current conversation.'),
41-
};
42-
}
4336
return {
44-
confirmationMessages,
4537
invocationMessage: pullRequest ? vscode.l10n.t('Pull request "{0}"', pullRequest.title) : vscode.l10n.t('Active pull request'),
4638
};
4739
}

0 commit comments

Comments
 (0)