Recommended models
We recommend high-context coding and reasoning models with strong instruction-following capabilities:For the most up-to-date model identifiers and context limits, consult the Fireworks AI Models Catalog.
Creating an API Key
- Navigate to the Fireworks AI Console.
- Sign in or create an account.
- Select API Keys in your account settings.
- Click Create API Key, label it
scandrix-code-review, and copy the secret key (fw_...).
New Fireworks AI accounts receive $1 in free credits upon registration.
Configuration options
You can configure Fireworks 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 Fireworks AI (or Generic OpenAI-Compatible).
- Set Base URL to
https://api.fireworks.ai/inference/v1. - Paste your Fireworks API Key (
fw_...). - Select
accounts/fireworks/models/llama-v3p3-70b-instructas your default review model. - Click Test Connection to send a synthetic health verification ping.
Option 2: Via Repository Config (.scandrix.yaml)
To enforce Fireworks 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 Fireworks AI integration
Verify that Fireworks AI is processing review jobs:Troubleshooting
Invalid API Key (HTTP 401)
Invalid API Key (HTTP 401)
- Verify your key begins with
fw_. - Check if you have sufficient credits in your Fireworks Console.
- Ensure there are no trailing whitespace or extra quotation marks in your
.envor secret manager.
Model Not Found (HTTP 404)
Model Not Found (HTTP 404)
- Ensure you prefixed the model identifier with
accounts/fireworks/models/(e.g.,accounts/fireworks/models/llama-v3p3-70b-instruct). - Verify the model is currently active in the Fireworks public model catalog.
Rate Limiting (HTTP 429)
Rate Limiting (HTTP 429)
- Fireworks AI provides high throughput on serverless endpoints.
- Check account rate limits in the Fireworks dashboard.
- For high-volume CI/CD pipelines, consider provisioning a Fireworks on-demand deployment or deploying a fallback provider in
.scandrix.yaml.
