From 4cd2340dbc8587dfd5996415a09de532aaf9ae38 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Mon, 6 May 2024 09:51:57 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20add=20more=20description=20to=20?= =?UTF-8?q?autocomplete=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/autocomplete/README.md | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) 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" }, ... }