Prerequisites
- VS Code with the Roo Code extension installed
- A Qhaigc API key — get one from the API Tokens page
Configuration Steps
Open provider settings
Navigate to the settings page within the Roo Code panel. Look for an API provider or model provider section.
Select an OpenAI Compatible provider
In the provider dropdown, select the OpenAI Compatible option (the exact label may vary slightly by version).
Enter your Qhaigc connection details
Fill in the following fields as shown in the UI:
Use the exact field names shown in your Roo Code version’s UI — they may differ slightly from the labels above.
| Field | Value |
|---|---|
| Base URL | https://api.qhaigc.net/v1 |
| API Key | Your Qhaigc API key (starts with sk-) |
| Model | e.g. gpt-4o or claude-opus-4-20250514 |
Multiple Provider Profiles
Roo Code supports multiple provider profiles. If you work with different models or projects, you can create a dedicated Qhaigc profile and switch between profiles from the panel. Refer to the Roo Code documentation for the current profile management interface.Verifying the Connection
Your setup is working when:- The configuration saves without errors
- You can open a session in the Roo Code panel
- The model returns a response without authentication or connection errors