跳转到主要内容
Roo Code (formerly Roo Cline) is a VS Code extension for AI-assisted coding. It supports OpenAI-compatible APIs through its provider settings, allowing you to use Qhaigc models for all coding tasks.

Prerequisites

  • VS Code with the Roo Code extension installed
  • A Qhaigc API key — get one from the API Tokens page

Configuration Steps

1

Open the Roo Code panel

In VS Code, open the Roo Code panel from the Activity Bar.
2

Open provider settings

Navigate to the settings page within the Roo Code panel. Look for an API provider or model provider section.
3

Select an OpenAI Compatible provider

In the provider dropdown, select the OpenAI Compatible option (the exact label may vary slightly by version).
4

Enter your Qhaigc connection details

Fill in the following fields as shown in the UI:
FieldValue
Base URLhttps://api.qhaigc.net/v1
API KeyYour Qhaigc API key (starts with sk-)
Modele.g. gpt-4o or claude-opus-4-20250514
Use the exact field names shown in your Roo Code version’s UI — they may differ slightly from the labels above.
5

Save and reopen a session

Save your configuration, then start a new session or reopen the Roo Code panel to apply the changes.

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

Frequently Asked Questions

Are Roo Code’s field names identical to Cline’s? Not necessarily. While both tools support OpenAI-compatible providers, the exact UI field labels in Roo Code may differ from Cline. Use the field names shown in your Roo Code version’s settings panel rather than assuming they are identical. No models appear automatically — how do I choose one? Verify that your Base URL and API Key are correct first. Then enter the model name manually — Roo Code does not automatically fetch models from OpenAI-compatible endpoints.

References