config.yaml. This tutorial uses that format — not the older config.json.
Prerequisites
- VS Code or JetBrains with the Continue extension installed
- A Qhaigc API key — get one from the API Tokens page
- Access to edit
~/.continue/config.yaml
Configuration Steps
Open config.yaml
Open Continue’s configuration file. You can access it by clicking the gear icon in the Continue panel, which opens
~/.continue/config.yaml in your editor.Add a model entry under models
Add a new entry to the Replace
models list with the following fields:sk-your-api-key-here with your actual Qhaigc API key. Change model to any model you want to use (e.g. claude-opus-4-20250514).Configure tab autocomplete (optional)
To use Qhaigc for tab autocomplete as well, add a
tabAutocompleteModel entry:Save the file
Save
config.yaml. Continue detects the change and reloads automatically — no restart required.Full Config Example
Verifying the Connection
Your setup is working when:- Continue loads the config without errors
- Your Qhaigc model appears in the model picker in the Continue panel
- Sending a message returns a response from Qhaigc
Frequently Asked Questions
Should I still use config.json? No. Continue’s current primary format isconfig.yaml. The config.json format is not the recommended path for new configurations.
The connection failed — what should I check first?
Verify that apiBase is https://api.qhaigc.net/v1, that apiKey is your correct Qhaigc key, and that the model value matches an available model. Also confirm that config.yaml is saved to the correct path (~/.continue/config.yaml).