In a previous posted I introduced you to Continue in combination with Ollama, as a way to run a fully local AI Code Assistant. In a first post I showed you how to download and install the necessary models and how to integrate it inside VSCode. We had a look at the chat integration and autocomplete. Today I want to continue by having a look at how we can configure the VSCode Addin.
I originally had planned to write about another feature of Continue, but when I opened VSCode today, I got the following error message:
Whoops! It seems that the configured language model was not available locally on my machine. And indeed when I took a look at the list of installed models, the ‘starcoder2:3b’ model wasn’t there:
Instead I had the ‘starcoder2:latest’ model installed. So let’s use this moment to show how you can configure the Continue VSCode Addin.
Therefore click on the ‘Gear’ icon in the bottom right corner of the Continue chat screen:
This will open a config.json file where we can edit and tweak a lot of the functionality in Continue:
Remark: For the full config.json schema, have a look here.
In our case, we only want to update the model used for the tab autocomplete:
Just hit Save to apply the changes.
Yes! Our autocomplete is back:
Great! Now we can focus on the next post where we take a look at the Edit and Actions features.
Remark: If you encounter any other issue, it is always a good idea to first check the console logs or LLM prompt logs: