- HuggingFace TGI
- vLLM
- SkyPilot
- Anyscale Private Endpoints (OpenAI compatible API)
- Lambda
How to Self-Host an Open-Source Model
For many cases, either Continue will have a built-in provider or the API you use will be OpenAI-compatible, in which case you can use the “openai” provider and change the “baseUrl” to point to the server. However, if neither of these are the case, you will need to wire up a new LLM object.How to Set Up Authentication
Basic authentication can be done with any provider using theapiKey
field:
- YAML
- JSON
"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:
- YAML
- JSON
requestOptions.clientCertificate
property like in the example below:
- YAML
- JSON