Continue is a VS Code extension that adds an AI coding assistant to the editor: chat about your code, edit it, and get tab completions. It can use a model running on your own computer through Ollama, so the code you ask about never leaves your machine. Continue’s own Ollama guide walks through the whole setup: install Ollama, pull a coding model, and add it to Continue’s configuration.
Install Continue and pull a coding model
Install the Continue extension from the VS Code Extensions Marketplace, then pull a small coding model. Continue’s guide recommends qwen2.5-coder:1.5b for autocomplete, and its autocomplete guide uses the same model:
ollama pull qwen2.5-coder:1.5b
Pull with the exact tag. The guide warns that the model must be installed locally: a configuration block only configures Continue to use a model, and if the model is not pulled, Ollama returns 404 model "qwen2.5-coder:1.5b" not found, try pulling it first.
Add the model to Continue’s config
Continue’s configuration is a YAML file. Add the model with the ollama provider, the exact model name, and the roles it should serve. The example below follows the guide’s autocomplete configuration:
name: My Local Config
version: 0.0.1
schema: v1
models:
- name: Qwen 1.5b Autocomplete Model
provider: ollama
model: qwen2.5-coder:1.5b
roles:
- autocomplete
The guide also says Continue can automatically detect your Ollama models: set the model to AUTODETECT and Continue scans your local Ollama installation and lists everything ollama list shows. For chat and editing, add the chat and edit roles to a model entry the same way.
Try it: four checks from server to suggestion
Open a practice file in VS Code with a fictional two-line function, for example a Python function that adds two numbers, then work through the checks.
| Check | What to do | What you should see |
|---|---|---|
| Ollama answers | curl http://localhost:11434 |
“Ollama is running” |
| Model is downloaded | ollama list |
qwen2.5-coder:1.5b in the list |
| Continue sees it | Open the Continue panel and look at the model picker | The model name appears as a choice |
| It helps with code | Ask Continue to explain the practice function | An explanation that mentions adding the two numbers |
Expected result. We checked Continue’s Ollama guide and its autocomplete guide. We did not install Continue or run a model on this machine.
Limits
Continue only talks to models Ollama already serves: a model named in the config but never pulled gives a 404, and a typo in the tag pulls the wrong size, since :latest may be a different size from the tag the config expects. The guide also notes that not every model that claims tool support works correctly for Continue’s agent mode, and suggests switching to a model with confirmed tool support, such as Llama 3.1, if agent mode reports that tools are not supported. A 1.5B model is fast enough for completions but is a small model, so its answers need the same checking as any model output. We did not test any of this ourselves.
