Overview
AI Review uses a configurable AI provider system. Each provider exposes one or more models. Models can be defined at the global level or overridden per project. The active provider list is controlled inapps/server/src/config/ai-providers.ts:
Environment variables
Set these two variables before starting the server:| Variable | Description | Required |
|---|---|---|
VOLCENGINE_API_KEY | API key issued by Volcengine (Doubao) | Yes |
VOLCENGINE_ENDPOINT | Inference endpoint URL for your deployment | Yes |
Preserved but inactive variables
The following variables are parsed by the server’s environment schema but have no active provider implementation:| Variable | Provider |
|---|---|
OPENAI_API_KEY | OpenAI |
ANTHROPIC_API_KEY | Anthropic Claude |
AZURE_OPENAI_API_KEY / AZURE_OPENAI_ENDPOINT | Azure OpenAI |
VERCEL_API_KEY | Vercel |
MOONSHOT_API_KEY | Moonshot |
Configure AI in the dashboard
Add an AI configuration
Click Add Configuration and fill in the fields:
| Field | Description |
|---|---|
| Name | A display name for this configuration |
| Provider | Select volcengine |
| Model | The model ID to use for reviews |
| API Key | Your Volcengine API key |
| Endpoint | Your Volcengine inference endpoint |
Set as default (optional)
Mark the configuration as the global default so all projects without a
per-project override use it.
Per-project AI configuration
Each project can override the global default AI configuration:- Open the project from the Projects page.
- Go to the project’s Settings tab.
- Under AI Configuration, select a specific AI configuration or leave it set to Use global default.
- Per-project AI configuration (if set)
- Global default AI configuration
Managing AI models
AI models are managed separately from AI configurations and represent the specific model identifiers available for selection. To add or manage models:- Navigate to Settings → AI Models in the dashboard.
- Click Add Model to register a new model ID.
- Assign the model to an AI configuration when creating or editing that configuration.