Skip to content

Commit 20e8e2f

Browse files
authored
Put 'Copilot' back into PR title and description provider (#238)
Fixes microsoft/vscode-pull-request-github#7289
1 parent 395ee88 commit 20e8e2f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/extension/conversation/node/githubPullRequestProviders.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ export class GitHubPullRequestProviders implements Disposable {
7373
if (!this.titleAndDescriptionProvider) {
7474
this.titleAndDescriptionProvider = this.disposables.add(this.instantiationService.createInstance(GitHubPullRequestTitleAndDescriptionGenerator));
7575
}
76-
this.disposables.add(this.gitHubExtensionApi.registerTitleAndDescriptionProvider(l10n.t('Generate title and message'), this.titleAndDescriptionProvider));
76+
// This string "Copilot" needs to be in here. It's how we an tell which provider to use in the PR extension.
77+
this.disposables.add(this.gitHubExtensionApi.registerTitleAndDescriptionProvider(l10n.t('Generate with Copilot'), this.titleAndDescriptionProvider));
7778
this.logService.logger.info('Successfully registered GitHub PR title and description provider.');
7879
} catch (e) {
7980
// Catch errors in case there's a breaking API change.

0 commit comments

Comments
 (0)