Skip to content

Conversation

@evanliu048
Copy link
Contributor

@evanliu048 evanliu048 commented Feb 12, 2025

This reverts commit 50c9121.

Problem

In the previous change, we applied prefect to every responses. However, this introduced issues with inline completion, causing it to behave inconsistently and produce unexpected completions in the next response.

Solution

To mitigate this, this PR rolls back the responses prefect change to restore stable inline completion behavior.


  • 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.
  • License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

@evanliu048 evanliu048 requested review from a team as code owners February 12, 2025 20:52
@evanliu048 evanliu048 marked this pull request as draft February 12, 2025 20:52
@evanliu048 evanliu048 marked this pull request as ready for review February 12, 2025 23:07
@evanliu048 evanliu048 changed the title Revert "feat(amazonq): pre-fetch next recommendations for inline comp… refactor(amazonq): revert pre-fetch next recommendations for inline completion Feb 12, 2025
@evanliu048 evanliu048 marked this pull request as draft February 12, 2025 23:16
@evanliu048 evanliu048 marked this pull request as ready for review February 12, 2025 23:16
@evanliu048 evanliu048 closed this Feb 12, 2025
@evanliu048 evanliu048 reopened this Feb 12, 2025
@@ -0,0 +1,4 @@
{
"type": "Removal",
"description": "Reverted prefetch logic to enable more stable inline completion"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes haven't been released right? If so, just remove the old changelog + this one

@jpinkney-aws jpinkney-aws merged commit f781fc9 into aws:master Feb 13, 2025
24 of 26 checks passed
@jpinkney-aws
Copy link
Contributor

Merged past code freeze at the request of Matt Schrage, since the previous commit would cause problems with the latest release

s7ab059789 pushed a commit to s7ab059789/aws-toolkit-vscode that referenced this pull request Feb 19, 2025
…ompletion (aws#6567)

This reverts commit 50c9121.

## Problem
In the previous change, we applied prefect to every responses. However,
this introduced issues with inline completion, causing it to behave
inconsistently and produce unexpected completions in the next response.

## Solution
To mitigate this, this PR rolls back the responses prefect change to
restore stable inline completion behavior.

---

- 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants