File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -357,6 +357,7 @@ export class LspController {
357357 amazonqIndexMemoryUsageInMB : usage ? usage . memoryUsage / ( 1024 * 1024 ) : undefined ,
358358 amazonqIndexCpuUsagePercentage : usage ? usage . cpuUsage : undefined ,
359359 amazonqIndexFileSizeInMB : totalSizeBytes / ( 1024 * 1024 ) ,
360+ amazonqVectorIndexEnabled : buildIndexConfig . isVectorIndexEnabled ,
360361 credentialStartUrl : buildIndexConfig . startUrl ,
361362 } )
362363 } else {
@@ -366,6 +367,7 @@ export class LspController {
366367 result : 'Failed' ,
367368 amazonqIndexFileCount : 0 ,
368369 amazonqIndexFileSizeInMB : 0 ,
370+ amazonqVectorIndexEnabled : buildIndexConfig . isVectorIndexEnabled ,
369371 reason : `Unknown` ,
370372 } )
371373 }
@@ -377,6 +379,7 @@ export class LspController {
377379 result : 'Failed' ,
378380 amazonqIndexFileCount : 0 ,
379381 amazonqIndexFileSizeInMB : 0 ,
382+ amazonqVectorIndexEnabled : buildIndexConfig . isVectorIndexEnabled ,
380383 reason : `${ error instanceof Error ? error . name : 'Unknown' } ` ,
381384 reasonDesc : `Error when building index. ${ error instanceof Error ? error . message : error } ` ,
382385 } )
Original file line number Diff line number Diff line change 5252 "type" : " int" ,
5353 "description" : " The sum of file sizes that were indexed in MB"
5454 },
55+ {
56+ "name" : " amazonqVectorIndexEnabled" ,
57+ "type" : " boolean" ,
58+ "description" : " True if vector index is enabled"
59+ },
5560 {
5661 "name" : " amazonqIndexFileCount" ,
5762 "type" : " int" ,
624629 {
625630 "type" : " credentialStartUrl" ,
626631 "required" : false
632+ },
633+ {
634+ "type" : " amazonqVectorIndexEnabled" ,
635+ "required" : false
627636 }
628637 ]
629638 },
You can’t perform that action at this time.
0 commit comments