docs/ide-extensions/autocomplete/how-it-works.mdx
In order to display suggestions quickly, without sending too many requests, we do the following:
Continue uses a number of retrieval methods to find relevant snippets from your codebase to include in the prompt.
Language models aren't perfect, but can be made much closer by adjusting their output. We do extensive post-processing on responses before displaying a suggestion, including:
You can learn more about how it works in the Autocomplete deep dive.
<Info> **Looking for AI that predicts your next changes or additions?** Check out [Next Edit](/ide-extensions/autocomplete/next-edit), an experimental feature that proactively suggests code changes before you even start typing, going beyond traditional autocomplete to anticipate entire code modifications. </Info>