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 @@ -132,6 +132,7 @@ export class LspController {
132132 amazonqIndexMemoryUsageInMB : usage ? usage . memoryUsage / ( 1024 * 1024 ) : undefined ,
133133 amazonqIndexCpuUsagePercentage : usage ? usage . cpuUsage : undefined ,
134134 amazonqIndexFileSizeInMB : totalSizeBytes / ( 1024 * 1024 ) ,
135+ amazonqVectorIndexEnabled : buildIndexConfig . isVectorIndexEnabled ,
135136 credentialStartUrl : buildIndexConfig . startUrl ,
136137 } )
137138 } else {
@@ -141,6 +142,7 @@ export class LspController {
141142 result : 'Failed' ,
142143 amazonqIndexFileCount : 0 ,
143144 amazonqIndexFileSizeInMB : 0 ,
145+ amazonqVectorIndexEnabled : buildIndexConfig . isVectorIndexEnabled ,
144146 reason : `Unknown` ,
145147 } )
146148 }
@@ -152,6 +154,7 @@ export class LspController {
152154 result : 'Failed' ,
153155 amazonqIndexFileCount : 0 ,
154156 amazonqIndexFileSizeInMB : 0 ,
157+ amazonqVectorIndexEnabled : buildIndexConfig . isVectorIndexEnabled ,
155158 reason : `${ error instanceof Error ? error . name : 'Unknown' } ` ,
156159 reasonDesc : `Error when building index. ${ error instanceof Error ? error . message : error } ` ,
157160 } )
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