Skip to content

Commit 3beb8b2

Browse files
authored
fix(amazonq): enable local context for falcon (#7176)
## Problem context items should be always on and not controlled by workspace setting there need to be a separate setting to control @workspace indexing, out of scope for this PR ## Solution --- - Treat all work as PUBLIC. Private `feature/x` branches will not be squash-merged at release time. - Your code changes must meet the guidelines in [CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines). - License: I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 59fc729 commit 3beb8b2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/amazonq/src/lsp/client.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ export async function startLanguageServer(
9292
customization,
9393
optOutTelemetry: getOptOutPreference() === 'OPTOUT',
9494
projectContext: {
95-
enableLocalIndexing: CodeWhispererSettings.instance.isLocalIndexEnabled(),
95+
// TODO: we might need another setting to control the actual indexing
96+
enableLocalIndexing: true,
9697
enableGpuAcceleration: CodeWhispererSettings.instance.isLocalIndexGPUEnabled(),
9798
indexWorkerThreads: CodeWhispererSettings.instance.getIndexWorkerThreads(),
9899
localIndexing: {

0 commit comments

Comments
 (0)