Skip to content

Fix delay in Copilot completion (#46885) (cherry-pick to preview)#46895

Merged
zed-zippy[bot] merged 1 commit intov0.220.xfrom
cherry-pick-v0.220.x-4a2d1e37
Jan 15, 2026
Merged

Fix delay in Copilot completion (#46885) (cherry-pick to preview)#46895
zed-zippy[bot] merged 1 commit intov0.220.xfrom
cherry-pick-v0.220.x-4a2d1e37

Conversation

@zed-zippy
Copy link
Contributor

@zed-zippy zed-zippy bot commented Jan 15, 2026

Cherry-pick of #46885 to preview


This PR fixes an issue when copilot takes 3s to complete. Right now, in
copilot edit prediction, we issue requests to both the Next Edit
Suggestion (NES) and the regular copilot inline completion endpoints.
Whichever come back first will be shown. However, there is a bug where
even if inline completion (which is usually much faster) comes back, we
still wait for NES (which takes about 3s).

This should address #46389
and #46880

Release notes:

  • Improved responsiveness of Copilot inline completions.

This PR fixes an issue when copilot takes 3s to complete. Right now, in
copilot edit prediction, we issue requests to both the Next Edit
Suggestion (NES) and the regular copilot inline completion endpoints.
Whichever come back first will be shown. However, there is a bug where
even if inline completion (which is usually much faster) comes back, we
still wait for NES (which takes about 3s).

This should address #46389
and #46880

Release notes:
- Improved responsiveness of Copilot inline completions.
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Jan 15, 2026
@zed-zippy zed-zippy bot merged commit 98f3b84 into v0.220.x Jan 15, 2026
24 checks passed
@zed-zippy zed-zippy bot deleted the cherry-pick-v0.220.x-4a2d1e37 branch January 15, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant