Continue

Configure Continue to use BullSequana AI from VS Code or JetBrains.

Agentic Friendly

Continue connects to BullSequana AI through the BSQAI API. It uses the OpenAI Responses API only for model names that follow OpenAI's own naming, such as o3 or gpt-5, and calls Chat Completions (/v1/chat/completions) for every other model name. The BSQAI API serves both at the same base URL, so platform model names need no extra setting.

What to use

Use:

  • provider: openai
  • base URL: https://api.<platform-domain>/v1
  • token: JWT or sk-bsq-... API key

Do not point Continue directly to internal model endpoints, such as KServe's.

1. Install Continue

Install the Continue extension in:

  • VS Code
  • JetBrains

Example for VS Code:

code --install-extension Continue.continue

2. Prepare authentication

Generate or obtain one of these:

  • a JWT token
  • a BullSequana AI API key

An API key needs chat.message.create to generate answers and tenant.read to list models through /v1/models. If you belong to a group in the tenant, also choose the Team the key's usage counts for. It cannot be changed later, and that team's monthly BCU cap applies to the key. See Create and use an API key.

If you need that flow first, use:

3. Configure Continue

Create or edit ~/.continue/config.json.

Example configuration:

{
  "models": [
    {
      "title": "BullSequana AI",
      "provider": "openai",
      "model": "<model-name-from-/v1/models>",
      "apiKey": "sk-bsq-v1-...",
      "apiBase": "https://api.<platform-domain>/v1"
    }
  ],
  "tabAutocompleteModel": {
    "title": "BullSequana AI Fast",
    "provider": "openai",
    "model": "<fast-model-name-from-/v1/models>",
    "apiKey": "sk-bsq-v1-...",
    "apiBase": "https://api.<platform-domain>/v1"
  }
}

Chat Completions calls a model directly, not an Agent. The BSQAI API does not serve the legacy text completions endpoint, /v1/completions.

4. Check model names

Do not hardcode example model names from another environment without checking first.

Available models are also visible in the Portal.

If you want the API-level source of truth for the current environment, use:

curl "https://api.<platform-domain>/v1/models" \
  -H "Authorization: Bearer <your-token>"

5. Start using Continue

Common shortcuts include:

  • Ctrl+L for chat
  • Ctrl+I for inline edits
  • editor-native completion flows for code suggestions

This keeps Continue aligned with the BullSequana AI platform contract:

  • stable API surface
  • controlled authentication
  • flexibility to evolve internal routing and inference components later

On this page