Build a 100% Offline, Free Coding Assistant in VS Code with Continue + Ollama
Working in an air-gapped enterprise or tired of monthly subscriptions? Run `Qwen2.5-Coder` locally via Ollama and connect the open-source Continue extension in VS Code for fast offline autocomplete and chat.
Using a heavy 14B model for keystroke autocomplete feels laggy. Pairing a tiny 1.5B Fill-In-the-Middle model for Tab completion with a 7B/14B model for chat makes local AI snappy.
Step-by-Step Action Checklist
0 / 4 CompletedI want to set up a 100% offline coding assistant in VS Code using `Ollama + Continue` on [my hardware, e.g., 16GB Apple Silicon / 8GB VRAM GPU]. Provide: 1) Best model pairing for instant Tab autocomplete vs deep chat refactoring; 2) A complete `~/.continue/config.json` including local codebase embeddings and 2 custom `slashCommands` (e.g., docstring generation and bug review).