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 {