From d2bc6359e8ebf647892ec953e418042dc7f8a685 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Fri, 22 Mar 2024 09:52:12 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20small=20docs=20improvements?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/docs/model-setup/configuration.md | 2 ++ docs/docs/walkthroughs/tab-autocomplete.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/docs/model-setup/configuration.md b/docs/docs/model-setup/configuration.md index b92c7a5e8..b1a35f56a 100644 --- a/docs/docs/model-setup/configuration.md +++ b/docs/docs/model-setup/configuration.md @@ -69,6 +69,8 @@ Basic authentication can be done with any provider using the `apiKey` field: } ``` +This translates to the header `"Authorization": "Bearer xxx"`. + If you need to send custom headers for authentication, you may use the `requestOptions.headers` property like in this example with Ollama: ```json title="~/.continue/config.json" diff --git a/docs/docs/walkthroughs/tab-autocomplete.md b/docs/docs/walkthroughs/tab-autocomplete.md index e31506f01..d0e71d250 100644 --- a/docs/docs/walkthroughs/tab-autocomplete.md +++ b/docs/docs/walkthroughs/tab-autocomplete.md @@ -14,7 +14,7 @@ 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: +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): ```json title=~/.continue/config.json {