Skip to content

Commit 48ac66b

Browse files
authored
flip default canDelegate to fix #280231 (#280398)
flip default canDelegate to fix #280231
1 parent 6f28a61 commit 48ac66b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/vs/workbench/contrib/chat/browser/chatContentParts/chatSuggestNextWidget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export class ChatSuggestNextWidget extends Disposable {
117117

118118
// Get chat session contributions to show in chevron dropdown
119119
const contributions = this.chatSessionsService.getAllChatSessionContributions();
120-
const availableContributions = contributions.filter(c => c.canDelegate !== false);
120+
const availableContributions = contributions.filter(c => c.canDelegate);
121121

122122
if (showContinueOn && availableContributions.length > 0) {
123123
const separator = dom.append(button, dom.$('.chat-suggest-next-separator'));

src/vs/workbench/contrib/chat/browser/chatSessions.contribution.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,9 @@ const extensionPoint = ExtensionsRegistry.registerExtensionPoint<IChatSessionsEx
186186
}
187187
},
188188
canDelegate: {
189-
description: localize('chatSessionsExtPoint.canDelegate', 'Whether delegation is supported. Defaults to true.'),
189+
description: localize('chatSessionsExtPoint.canDelegate', 'Whether delegation is supported. Default is false. Note that enabling this is experimental and may not be respected at all times.'),
190190
type: 'boolean',
191-
default: true
191+
default: false
192192
}
193193
},
194194
required: ['type', 'name', 'displayName', 'description'],

0 commit comments

Comments
 (0)