We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfd0e87 commit 15ba9f8Copy full SHA for 15ba9f8
packages/core/src/codewhisperer/util/supplementalContext/crossFileContextUtil.ts
@@ -136,16 +136,17 @@ export async function fetchSupplementalContextForSrcV1(
136
for (const chunk of bestChunks) {
137
throwIfCancelled(cancellationToken)
138
139
- supplementalContexts.push({
140
- filePath: chunk.fileName,
141
- content: chunk.nextContent,
142
- score: chunk.score,
143
- })
144
totalLength += chunk.nextContent.length
145
146
if (totalLength > crossFileContextConfig.maximumTotalLength) {
147
break
148
}
+
+ supplementalContexts.push({
+ filePath: chunk.fileName,
+ content: chunk.nextContent,
+ score: chunk.score,
149
+ })
150
151
152
// DO NOT send code chunk with empty content
0 commit comments