A vscode extension providing AI code completion locally on your computer.
MIT License
Enables AI Assisted code completion, similar to Github Copilot, completely locally. No code leaves your machine. This has two major benefits:
AI Assisted code completion.
You trigger code completion by pressing Ctrl+Alt+C.
You accept a completion by pressing Tab.
You cancel an ongoing completion by pressing Escape.
You delete a non-accepted completion by pressing Escape.
GIF is sped up.
The extension uses codellama 7B under the hood, which supports many languages including Python, C++, Java, PHP, Typescript (Javascript), C# and Bash.
According to evaluation results from Meta, codellama 7B is almost on par with Codex, the model used by Github Copilot.
This extension requires an Ollama installation to run the language model locally. Ollama does not currently support Windows, which also means that this extension is not compatible with Windows.
Thanks to @johnnyasantoss for making these changes.
Added options for changing model, temperature and top_p parameters.
Initial release.