Skip to content

Commit

Permalink
📝 tab-autocomplete setting up a custom model
Browse files Browse the repository at this point in the history
  • Loading branch information
sestinj committed Feb 1, 2024
1 parent 0994a9f commit d860ab6
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion docs/docs/walkthroughs/tab-autocomplete.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Continue now provides experimental support for tab autocomplete in VS Code. You can enable it by downloading the pre-release version of the extension, opening VS Code settings, and then checking the box that says "Enable Tab Autocomplete". There is also a button on the bottom/status bar for fast access. We will be greatly improving the experience over the next few releases, and it is always helpful to hear feedback. If you have any problems or suggestions, please let us know in our [Discord](https://discord.gg/vapESyrFmJ).

## Setting up with Ollama
## Setting up with Ollama (default)

We recommend setting up tab-autocomplete with a local Ollama instance. To do this, first download the latest version of Ollama from [here](https://ollama.ai). Then, run the following command to download our recommended model:

Expand All @@ -12,6 +12,24 @@ ollama run deepseek-coder:1.3b-base

Once it has been downloaded, you should begin to see completions in VS Code.

## Setting up a custom model

All of the configuration options available for chat models are available to use for tab-autocomplete. For example, if you wanted to use a remote Ollama instance you would edit your `config.json` like this:

```json
{
"tabAutocompleteModel": {
"title": "Tab Autocomplete Model",
"provider": "ollama",
"model": "deepseek-coder:1.3b-base",
"apiBase": "https://<my endpoint>"
},
...
}
```

If you aren't yet familiar with the available options, you can learn more in our [overview](../model-setup/overview.md).

## Configuration Options

The following can be configured in `config.json`:
Expand Down

0 comments on commit d860ab6

Please sign in to comment.