mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-15 02:07:31 +01:00
Flip the defaults for two settings that have been validated behind an opt-in flag: - `chat.agentHost.copilot.toolSearch.enabled` - `github.copilot.chat.preferLongContext.enabled` Both settings are defined in more than one place, so each pair is updated together: - Tool search: the workbench setting registration in `chat.shared.contribution.ts` and the agent-host schema default in `copilotCliConfig.ts` that the renderer forwards into. - Prefer long context: the contributed default in the Copilot extension's `package.json` and `ConfigKey.PreferLongContext`, which throws a `BugIndicatingError` at load if the two drift, plus the forwarded `preferLongContextEnabled` root-config default in `agentHostSchema.ts`. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>