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 039b350 commit 3bb6b62Copy full SHA for 3bb6b62
src/vs/workbench/contrib/chat/browser/chatSetup.ts
@@ -179,10 +179,9 @@ export class ChatSetupContribution extends Disposable implements IWorkbenchContr
179
showCopilotView(viewsService);
180
ensureSideBarChatViewSize(400, viewDescriptorService, layoutService);
181
182
- // Setup should be kicked off immediately
183
- if (typeof startSetup === 'boolean' && startSetup) {
+ if (startSetup === true && !ASK_FOR_PUBLIC_CODE_MATCHES) {
184
const controller = that.controller.value;
185
- controller.setup({ publicCodeSuggestions: true }); // TODO@sbatten pass in as argument
+ controller.setup({ publicCodeSuggestions: true });
186
}
187
188
configurationService.updateValue('chat.commandCenter.enabled', true);
0 commit comments