diff --git a/core/autocomplete/README.md b/core/autocomplete/README.md index c988eb0cd..a83524814 100644 --- a/core/autocomplete/README.md +++ b/core/autocomplete/README.md @@ -14,15 +14,28 @@ 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 (note that it is not inside the models array): +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 vLLM instance you would edit your `config.json` like this (note that it is not inside the models array), filling in the correct model name and vLLM endpoint: + +```json title=~/.continue/config.json +{ + "tabAutocompleteModel": { + "title": "Tab Autocomplete Model", + "provider": "openai", + "model": "", + "apiBase": "" + }, + ... +} +``` + +As another example, say you want to use a different model, `deepseek-coder:6.7b-base`, with Ollama: ```json title=~/.continue/config.json { "tabAutocompleteModel": { "title": "Tab Autocomplete Model", "provider": "ollama", - "model": "starcoder:3b", - "apiBase": "https://" + "model": "deepseek-coder:6.7b-base" }, ... }