Skip to content

Commit 47f5535

Browse files
Merge master into feature/emr
2 parents 075f9a5 + f87a94b commit 47f5535

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

packages/amazonq/test/unit/codewhisperer/util/crossFileContextUtil.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ describe('crossFileContextUtil', function () {
9696
assert.strictEqual(actual.supplementalContextItems[3].content.split('\n').length, 50)
9797
})
9898

99-
it('for t2 group, should return global bm25 context and no repomap', async function () {
99+
it.skip('for t2 group, should return global bm25 context and no repomap', async function () {
100100
await toTextEditor(aStringWithLineCount(200), 'CrossFile.java', tempFolder, { preview: false })
101101
const myCurrentEditor = await toTextEditor('', 'TargetFile.java', tempFolder, {
102102
preview: false,

packages/core/src/codewhisperer/util/supplementalContext/crossFileContextUtil.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -284,14 +284,8 @@ function getSupplementalContextConfig(languageId: vscode.TextDocument['languageI
284284

285285
const group = FeatureConfigProvider.instance.getProjectContextGroup()
286286
switch (group) {
287-
case 'control':
288-
return 'opentabs'
289-
290-
case 't1':
287+
default:
291288
return 'codemap'
292-
293-
case 't2':
294-
return 'bm25'
295289
}
296290
}
297291

0 commit comments

Comments
 (0)