Continue Access
Continue Officially supports using provider: openai to access OpenAI compatible services, and using apiBase to specify a custom address. The new version of Continue uses YAML configuration by default.
If not yet installed, use Continue extension installation guide to choose the VS Code or JetBrains version. YAML is a text format that uses indentation for configuration. Preserve indentation when copying the example below.
configuration file location
- Windows:
%USERPROFILE%\.continue\config.yaml - macOS / Linux:
~/.continue/config.yaml
Open the configuration drop-down menu in the upper right corner of the Continue Chat input box and find the gear next to Local Config. You can also open the above file directly. After saving, Continue will automatically refresh the configuration.
Configuration Example
name: ShangHai Do
version: 0.0.1
schema: v1
models:
- name: ShangHai Do qwen3.8-flash
provider: openai
model: qwen3.8-flash
apiBase: https://shanghaido.com/v1
apiKey: YOUR_API_KEY
roles:
- chat
- edit
- apply
capabilities:
- tool_use
useResponsesApi: false
YOUR_API_KEY is just a placeholder, please replace it with the site token. Do not submit the real token to the project warehouse for formal use; put the configuration first in the user directory, not in the project shared configuration.
If you use the self-built ShangHai Do site, only replace the domain name of apiBase. The model name must be exactly the same as id returned by /v1/models.
How to choose roles and abilities
chat: Normal conversation.edit: Modify the code according to the instructions.apply: Apply patches or edit results.tool_use: Tells the Continue model that the tool can be used, and that Agent mode requires it.
Do not configure the autocomplete role when accessing for the first time. Auto-completion requires low-latency, specially trained completion models; even if an ordinary chat model can have conversations and edits, it does not mean it is suitable for word-by-word completion.
Continue The official documentation states that some OpenAI series models will automatically try the Responses API. This example explicitly uses Chat Completions to avoid requesting qwen3.8-flash for protocols not selected by this site.
Get started
First send "Please reply: Connection successful" in Continue Chat, and then try a small-scale edit. When using Agent, editing or completion functions, please configure them according to the capabilities of the selected model.
official information
- Continue:How to Configure OpenAI Models
- Continue:Local YAML configuration
- Continue:config.yaml reference
encountered a problem
If you encounter problems with calling or configuration, please contact the site customer service and provide the model name, error time and error information to facilitate troubleshooting.