Skip to main content

Overview

Continue is an open-source AI coding assistant that works as an extension for VS Code and JetBrains IDEs. It provides chat, autocomplete, and code editing powered by LLMs. Connect it to ModelStack to access multiple model providers through one interface.

Prerequisites

  • VS Code or JetBrains IDE installed
  • ModelStack API key from your dashboard

Installation

VS Code

  1. Open VS Code
  2. Go to Extensions (Cmd+Shift+X or Ctrl+Shift+X)
  3. Search for “Continue”
  4. Click Install

JetBrains

  1. Open your JetBrains IDE (IntelliJ, PyCharm, etc.)
  2. Go to SettingsPlugins
  3. Search for “Continue”
  4. Click Install and restart

Configuration

Step 1: Open Continue Config

  1. Click the Continue icon in your sidebar
  2. Click the gear icon (⚙️) to open settings
  3. Select Edit config.json

Step 2: Add ModelStack Provider

Add this configuration to your config.json:
{
  "models": [
    {
      "title": "Claude Sonnet 4.6",
      "provider": "openai",
      "model": "claude-sonnet-4-6",
      "apiKey": "your_modelstack_api_key",
      "apiBase": "https://api.modelstack.cc/v1"
    },
    {
      "title": "GPT-4o",
      "provider": "openai",
      "model": "gpt-4o",
      "apiKey": "your_modelstack_api_key",
      "apiBase": "https://api.modelstack.cc/v1"
    }
  ]
}
Replace your_modelstack_api_key with your actual API key.

Step 3: Select Model

In the Continue chat interface, use the model dropdown to switch between configured models.

Usage Examples

Chat: Ask questions about your codebase
@codebase How does authentication work?
Edit: Select code and ask Continue to modify it
/edit Add error handling to this function
Autocomplete: Continue provides inline suggestions as you type (if enabled in settings)

Troubleshooting

Issue: “Failed to connect to API” Solution: Verify the apiBase is exactly https://api.modelstack.cc/v1 (no trailing slash) and your API key is valid. Issue: Autocomplete not working Solution: Check that autocomplete is enabled in Continue settings and you have sufficient credits in your ModelStack account.

Advanced Configuration

Multiple Models

You can configure multiple models for different use cases:
{
  "models": [
    {
      "title": "Fast (Haiku)",
      "provider": "openai",
      "model": "claude-haiku-4-5",
      "apiKey": "your_key",
      "apiBase": "https://api.modelstack.cc/v1"
    },
    {
      "title": "Powerful (Opus)",
      "provider": "openai",
      "model": "claude-opus-4-6",
      "apiKey": "your_key",
      "apiBase": "https://api.modelstack.cc/v1"
    }
  ]
}

Next Steps


Last verified: 2026-03-07