Skip to content
Get API key API key

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. The JetBrains setup is on Continue for JetBrains.

  • 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 Continue VSIX from AI Coding Plugins.
  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:
config.yaml
model: gpt-oss-120b
  1. Set the base URL:
config.yaml
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:
config.yaml
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:
config.yaml
roles:
- chat
config.yaml
name: Local Config
version: 1.0.0
schema: v1
models:
- name: gpt-oss-120b
model: gpt-oss-120b
provider: openai
apiBase: https://llm-server.llmhub.t-systems.net/v2/coding
apiKey: ${{ secrets.OPENAI_API_KEY }}
roles:
- chat
- edit
- apply
- name: GLM-5.3
model: GLM-5.3
provider: openai
apiBase: https://llm-server.llmhub.t-systems.net/v2/coding
apiKey: ${{ secrets.OPENAI_API_KEY }}
roles:
- chat
- edit
- apply
- name: GLM-5.3-Flash
model: GLM-5.3-Flash
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:

~/.continue/.env
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.