Commit 63946ff
authored
fix(amazonq): inline pagination doesn't work, the paginated response will not be rendered (#8470)
## Problem
## Solution
```
2025-12-29 01:20:24.853 [info] inline: found non null next token; Start pagination
2025-12-29 01:20:24.853 [info] GenerateCompletion activity:
- number of suggestions: 1
- sessionId: 584db06a-4e51-4fbf-9656-6ac590756627
- first suggestion content (next line):
// a function to find the square of a number
public static int square(int a) {
return a * a;
}
- duration between trigger to before sending LSP call: 0ms
- duration between trigger to after receiving LSP response: 758ms
- duration between before sending LSP call to after receving LSP response: 758ms
- duration between trigger to completion suggestion is displayed: 759ms
2025-12-29 01:20:25.145 [info] inline: Pagination call is complete
page 0 has 1 suggestions
page 1 has 1 suggestions
2025-12-29 01:20:25.160 [info] inline: Done pagination; ShouldUpdate=true; updatedSuggestionCount=2
```
---
- Treat all work as PUBLIC. Private `feature/x` branches will not be
squash-merged at release time.
- Your code changes must meet the guidelines in
[CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines).
- License: I confirm that my contribution is made under the terms of the
Apache 2.0 license.1 parent 3d07d02 commit 63946ff
File tree
3 files changed
+34
-10
lines changed- packages
- amazonq/src/app/inline
3 files changed
+34
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | | - | |
| 372 | + | |
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| 191 | + | |
191 | 192 | | |
192 | 193 | | |
193 | 194 | | |
| |||
249 | 250 | | |
250 | 251 | | |
251 | 252 | | |
252 | | - | |
| 253 | + | |
253 | 254 | | |
254 | 255 | | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
259 | 269 | | |
260 | 270 | | |
261 | 271 | | |
262 | 272 | | |
263 | | - | |
| 273 | + | |
264 | 274 | | |
265 | 275 | | |
266 | 276 | | |
| |||
294 | 304 | | |
295 | 305 | | |
296 | 306 | | |
297 | | - | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
298 | 310 | | |
| 311 | + | |
299 | 312 | | |
300 | 313 | | |
301 | 314 | | |
302 | 315 | | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
303 | 319 | | |
304 | 320 | | |
305 | 321 | | |
306 | 322 | | |
307 | 323 | | |
308 | 324 | | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
309 | 328 | | |
| 329 | + | |
310 | 330 | | |
311 | 331 | | |
| 332 | + | |
312 | 333 | | |
313 | 334 | | |
314 | 335 | | |
315 | 336 | | |
316 | 337 | | |
317 | 338 | | |
| 339 | + | |
| 340 | + | |
318 | 341 | | |
319 | 342 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
0 commit comments