Mafdet AI Help Center中文

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
  • provider is always openai (OpenAI-compatible)
  • model is a Mafdet AI model ID (see Models overview)
  • apiBase must be https://api.mafdet.ai/v1
  • apiKey is your key

Add multiple models entries for different models and switch between them in Continue.

Common errors

SymptomMeaningFix
401Wrong key or bad formatCheck apiKey
429Rate limited (RPM/TPM)Retry later, lower frequency
MODEL_NOT_ALLOWEDNo access to the modelSee Permissions & model scope
insufficient_creditOut of balanceSee Balance & usage
model not foundWrong model IDCheck Models overview

Next steps