Building the new GitHub Copilot Inline Suggestions Model: Part One
AI-generated summary of reporting by VS Code Blog. Read the original for the full story.
Why it matters
GitHub Copilot replaced three separate inline-suggestion models with one, so a single model now decides the best edit and improvements benefit all suggestion types at once.
GitHub Copilot's inline suggestions in VS Code used to run on three separate models: one for ghost-text code completions, one for nearby edits, and one for edits further away. The team combined all three into a single '3-in-1' model that picks the best edit itself and can predict several edits in one pass. This makes suggestions faster and more sensible for the millions of developers using the tool, who triggered over 61 billion successful requests in 90 days.
GitHub unified Copilot's three inline-suggestion models (completions, next edit suggestions, and long-distance edits) into one '3-in-1' model in VS Code, cutting latency from up to four model calls per opportunity and removing brittle client-side orchestration logic. Any model improvement now benefits all suggestion types, and cached multi-patch responses enable a faster tab-tab-tab editing flow. This is part one of a series; no rollout dates or performance benchmarks are given.
GitHub merged Copilot's completions, NES, and long-distance NES models into a single model using a 'diff patch' output format expressing cursor completions, local rewrites, and line jumps as one chain of edits. Context was simplified to a 3-line cursor block, kept at prompt end to optimize key-value caching via shared prefixes. Rollout went through a 2-in-1 stage (NES plus long-distance) before adding completions, with evaluation across offline tests (STests, augmented HumanEval), dogfooding, human evaluation, and over 200 offline plus 20 online experiments.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
GitHub Copilot VS Code 3-in-1 model 2-in-1 model diff patch HumanEval STests
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.