Skip to content

Commit 0446f81

Browse files
authored
chat: disable agentic pause for stable 1.97 (microsoft#239243)
1 parent 5475dfe commit 0446f81

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/vs/workbench/contrib/chat/browser/chatWidget.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ import { IInstantiationService } from '../../../../platform/instantiation/common
3030
import { ServiceCollection } from '../../../../platform/instantiation/common/serviceCollection.js';
3131
import { WorkbenchObjectTree } from '../../../../platform/list/browser/listService.js';
3232
import { ILogService } from '../../../../platform/log/common/log.js';
33+
import { IProductService } from '../../../../platform/product/common/productService.js';
3334
import { IStorageService, StorageScope, StorageTarget } from '../../../../platform/storage/common/storage.js';
3435
import { ITelemetryService } from '../../../../platform/telemetry/common/telemetry.js';
3536
import { buttonSecondaryBackground, buttonSecondaryForeground, buttonSecondaryHoverBackground } from '../../../../platform/theme/common/colorRegistry.js';
@@ -234,6 +235,7 @@ export class ChatWidget extends Disposable implements IChatWidget {
234235
@IChatEditingService private readonly chatEditingService: IChatEditingService,
235236
@IStorageService private readonly storageService: IStorageService,
236237
@ITelemetryService private readonly telemetryService: ITelemetryService,
238+
@IProductService private readonly productService: IProductService,
237239
) {
238240
super();
239241

@@ -895,7 +897,10 @@ export class ChatWidget extends Disposable implements IChatWidget {
895897

896898
this.requestInProgress.set(this.viewModel.requestInProgress);
897899
this.isRequestPaused.set(this.viewModel.requestPausibility === ChatPauseState.Paused);
898-
this.canRequestBePaused.set(this.viewModel.requestPausibility !== ChatPauseState.NotPausable);
900+
// todo@connor4312: disabled for stable 1.97 release.
901+
if (this.productService.quality !== 'stable') {
902+
this.canRequestBePaused.set(this.viewModel.requestPausibility !== ChatPauseState.NotPausable);
903+
}
899904

900905
this.onDidChangeItems();
901906
if (events.some(e => e?.kind === 'addRequest') && this.visible) {

0 commit comments

Comments
 (0)