Step 1: Install Continue Extension
VS Code Installation
- Open VS Code, press
Ctrl+Shift+X(Mac:Cmd+Shift+X) to open the Extensions panel - Search for "Continue"
- Find the official Continue extension and click "Install"
JetBrains Installation
- Open Settings (
Ctrl+Alt+S), go to the Plugins page - In the Marketplace tab, search for "Continue"
- Click "Install", then restart the IDE
Step 2: Configure API
Method 1: Configure via UI (Recommended)
- Click the Continue icon in the left Activity Bar to open the panel
- Click the gear icon at the bottom of the panel to open Continue settings
- In the "Models" section, click "Add Model"
- Select "OpenAI Compatible" as the Provider
- Fill in the following:
- Model name: A custom name (e.g.
Claude) - API Base:
https://api.bsf.ai - API Key: Your API key
- Model: Enter the model name (e.g.
claude-sonnet-4-6)
- Model name: A custom name (e.g.
- Click "Save"
Method 2: Edit Config File Manually
Continue's config file is located at ~/.continue/config.json, add the following:
json
{
"models": [
{
"title": "Claude",
"provider": "openai",
"model": "claude-sonnet-4-6",
"apiBase": "https://api.bsf.ai",
"apiKey": "your_api_key"
}
]
}or
yaml
name: Local Config
version: 1.0.0
schema: v1
rules:
- You are an expert software engineer.
models:
- name: Claude sonnet 4.6
provider: openai
model: Claude-sonnet-4-6
apiBase: https://api.bsf.ai/v1
apiKey: sk-YOUR_API_KEY
- name: Claude haiku
provider: openai
model: claude-haiku-4-5-20251001
apiBase: https://api.bsf.ai/v_
apiKey: sk-YOUR_API_KEYStep 3: Start Using
Basic Usage
- Open panel: Press
Ctrl+L(Mac:Cmd+L) to open the Continue chat panel - Add code to conversation: Select code and press
Ctrl+Shift+L(Mac:Cmd+Shift+L) - Inline editing: Select code and press
Ctrl+I(Mac:Cmd+I) for inline modifications - Code completion: Continue automatically provides completion suggestions as you type; press
Tabto accept
NOTE
Continue supports both Chat and Autocomplete features. You can configure different models for each in the settings.