Recommended models
We recommend high-context coding and reasoning models with reliable token throughput:For the most up-to-date model identifiers and context limits, consult the Novita AI LLM Catalog.
Creating an API Key
- Navigate to the Novita AI Console.
- Sign in or create an account.
- Go to Settings → Key Management.
- Click Add New Key, name it
scandrix-code-review, and copy the secret key.
Configuration options
You can configure Novita AI either via the ScanDrix dashboard, in your repository’s.scandrix.yaml, or in self-hosted backend environment variables.
Option 1: Via the ScanDrix Dashboard (Recommended for SaaS)
- Open the ScanDrix dashboard and navigate to Settings → AI Providers.
- Click Add Provider and select Novita AI (or Generic OpenAI-Compatible).
- Set Base URL to
https://api.novita.ai/v3/openai. - Paste your Novita API Key.
- Select
deepseek/deepseek_v3as your default review model. - Click Test Connection to send a synthetic health verification ping.
Option 2: Via Repository Config (.scandrix.yaml)
To enforce Novita AI as the review engine for a specific repository:
Option 3: Via Self-Hosted Backend (.env)
If deploying the self-hosted ScanDrix Go backend, configure your environment file:Production Reverse Proxy Setup
For self-hosted instances with external Git webhooks, configure Nginx to forward requests to the Next.js frontend (port 3000) and the Go backend API (port 8080):Verifying Novita AI integration
Verify that Novita AI is processing review tasks:Troubleshooting
Invalid API Key (HTTP 401)
Invalid API Key (HTTP 401)
- Verify your API key in the Novita Key Management.
- Ensure your Novita balance has sufficient credits.
- Confirm there are no hidden linebreaks in the key string.
Model Not Found (HTTP 404)
Model Not Found (HTTP 404)
- Ensure you use the exact model string (e.g.
deepseek/deepseek_v3). - Verify whether the model requires custom deployment or is accessible via serverless.
Connection Timeouts
Connection Timeouts
- Ensure the server has outgoing HTTPS connectivity to
api.novita.ai. - Check if corporate proxy or firewall settings block non-standard cloud API hosts.
