Skip to content

Commit 3bb6b62

Browse files
authored
chat - setup tweaks (microsoft#235432)
1 parent 039b350 commit 3bb6b62

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,9 @@ export class ChatSetupContribution extends Disposable implements IWorkbenchContr
179179
showCopilotView(viewsService);
180180
ensureSideBarChatViewSize(400, viewDescriptorService, layoutService);
181181

182-
// Setup should be kicked off immediately
183-
if (typeof startSetup === 'boolean' && startSetup) {
182+
if (startSetup === true && !ASK_FOR_PUBLIC_CODE_MATCHES) {
184183
const controller = that.controller.value;
185-
controller.setup({ publicCodeSuggestions: true }); // TODO@sbatten pass in as argument
184+
controller.setup({ publicCodeSuggestions: true });
186185
}
187186

188187
configurationService.updateValue('chat.commandCenter.enabled', true);

0 commit comments

Comments
 (0)