Continue setup
Continue is an AI coding assistant for VS Code / JetBrains that supports OpenAI-compatible APIs.
Configuration
Add a Mafdet AI model to Continue's config.yaml:
models:
- name: Mafdet AI Gemini Flash
provider: openai
model: gemini-3-flash-lite
apiBase: https://api.mafdet.ai/v1
apiKey: sk-mafdet-xxxxxxxxxxxxxxxx
provideris alwaysopenai(OpenAI-compatible)modelis a Mafdet AI model ID (see Models overview)apiBasemust behttps://api.mafdet.ai/v1apiKeyis your key
Add multiple models entries for different models and switch between them in
Continue.
Common errors
| Symptom | Meaning | Fix |
|---|---|---|
| 401 | Wrong key or bad format | Check apiKey |
| 429 | Rate limited (RPM/TPM) | Retry later, lower frequency |
MODEL_NOT_ALLOWED | No access to the model | See Permissions & model scope |
insufficient_credit | Out of balance | See Balance & usage |
| model not found | Wrong model ID | Check Models overview |