We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10f9a97 commit 13c1fa3Copy full SHA for 13c1fa3
src/plus/ai/aiProviderService.ts
@@ -530,6 +530,10 @@ export class AIProviderService implements Disposable {
530
progress?: ProgressOptions;
531
},
532
): Promise<AISummarizeResult | undefined> {
533
+ if (!(await this.ensureFeatureAccess('generateChangelog', source))) {
534
+ return undefined;
535
+ }
536
+
537
const diff = await repo.git.diff().getDiff?.(compareRef, baseRef, { notation: '...' });
538
539
const log = await this.container.git.commits(repo.path).getLog(`${baseRef}..${compareRef}`);
0 commit comments