Skip to content

Commit d15b125

Browse files
andrewyuqkevluu-aws
authored andcommitted
feat(amazonq): change active file context limit to 40k aws#6371
1 parent 2b1d70d commit d15b125

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Feature",
3+
"description": "Amazon Q: increase chat current active file context char limit to 40k"
4+
}

packages/core/src/codewhispererChat/editor/context/focusArea/focusAreaExtractor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { TextEditor, Selection, TextDocument, Range } from 'vscode'
77

88
import { FocusAreaContext, FullyQualifiedName } from './model'
99

10-
const focusAreaCharLimit = 9_000
10+
const focusAreaCharLimit = 40_000
1111

1212
export class FocusAreaContextExtractor {
1313
public isCodeBlockSelected(editor: TextEditor): boolean {

0 commit comments

Comments
 (0)