📝 small docs improvements

This commit is contained in:
Nate Sesti 2024-03-22 09:52:12 -07:00
parent 52005b4ead
commit d2bc6359e8
2 changed files with 3 additions and 1 deletions

View file

@ -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"

View file

@ -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
{