Skip to content

Continue for VS Code

Continue for AI Engineer is a custom version of the Continue extension for Visual Studio Code. It brings chat, inline edits, autocomplete, and coding agents into the editor so you can stay in the same workflow while working with AI models.

  • Chat interface for questions, code explanations, and development assistance
  • Inline edits for targeted code changes without leaving the file
  • Autocomplete for low-latency code suggestions while you type
  • Coding agents for multi-step tasks such as reading files, running commands, and applying changes
  1. Download the VSIX from Continue for VS Code.
  2. In VS Code, open Extensions, open the three-dot menu, and choose Install from VSIX.
  3. Select the downloaded plugin file and reload VS Code.

After the first installation, open the AI Engineer Continue plugin and choose Local config. This opens an empty config.yaml file that you can update with your model, base URL, and API key details.

  1. Choose a model ID from Available Models:
model: gpt-oss-120b
  1. Set the base URL:
apiBase: https://llm-server.llmhub.t-systems.net/v2/coding
  1. Generate an API key in LLM Serving API Keys and reference it from a Continue secret:
apiKey: ${{ secrets.OPENAI_API_KEY }}

See Using an environment variable below for how to provide the value.

  1. Assign one or more roles to the model, such as chat, edit, apply, autocomplete, or embed:
roles:
- chat
name: Local Config
version: 1.0.0
schema: v1
models:
- name: gpt-4.1
model: gpt-4.1
provider: openai
apiBase: https://llm-server.llmhub.t-systems.net/v2/coding
apiKey: ${{ secrets.OPENAI_API_KEY }}
roles:
- chat
- name: Qwen3-30B-A3B-FP8
model: Qwen3-30B-A3B-FP8
provider: openai
apiBase: https://llm-server.llmhub.t-systems.net/v2/coding
apiKey: ${{ secrets.OPENAI_API_KEY }}
roles:
- chat
- edit
- apply

Once the config is saved, you can start a chat and use Continue in VS Code.

The ${{ secrets.OPENAI_API_KEY }} reference resolves the value at runtime instead of pinning the API key into your config.yaml. Continue searches the following sources in order:

  1. A .env file in your workspace root
  2. .continue/.env in your workspace
  3. ~/.continue/.env in your home directory
  4. The process environment

Create ~/.continue/.env with your key:

OPENAI_API_KEY=gen-************************************************

Restart VS Code. Continue will resolve ${{ secrets.OPENAI_API_KEY }} from the .env file, and you only set the value once for every model in your config.yaml.

After setup, the plugin can download newly published versions automatically. When you start or reload VS Code and an update is available, a popup appears.

  1. Click Update Now to download the latest version.

Continue for VS Code update notification with the "Update Now" button to download the latest version

  1. After the download completes, click Reload Window.

Continue for VS Code post-update prompt with the "Reload Window" button to apply the new version

After Visual Studio Code restarts, the latest Continue version is ready to use.