Continue reads its models from a config.yaml file, and the cn command-line agent and the VS Code extension share it. Add an OpenAI-compatible model once and both run on an uncensored, abliterated model. We set up Continue CLI 1.5.47 and VS Code extension 2.0.0 against CommentLLM's abliterated DeepSeek V4.1 Flash model, and each fixed a real bug.
The short version: in ~/.continue/config.yaml, add a model with provider: openai, apiBase: https://api.commentllm.com/v1, apiKey: ${{ secrets.COMMENTLLM_API_KEY }} and capabilities: [tool_use].

What you need
- Continue. We used the CLI,
cn1.5.47, installed withnpm install -g @continuedev/cli, and VS Code extension 2.0.0 (continue.continue). - A CommentLLM API key. Create one under Keys in the console after you sign up and add credit.
You do not need a Continue Hub account.
Step 1: put your key in an environment variable
export COMMENTLLM_API_KEY="cllm_..."
Continue resolved ${{ secrets.COMMENTLLM_API_KEY }} from this variable in both the CLI and the extension. For the extension, the variable must be set in the environment VS Code starts from.
Step 2: write ~/.continue/config.yaml
name: CommentLLM
version: 1.0.0
schema: v1
models:
- name: DeepSeek V4.1 Flash Abliterated
provider: openai
model: deepseek-v4.1-flash-abliterated
apiBase: https://api.commentllm.com/v1
apiKey: ${{ secrets.COMMENTLLM_API_KEY }}
roles: [chat, edit, apply]
capabilities: [tool_use]
defaultCompletionOptions:
contextLength: 1048576
maxTokens: 32768
- name: GLM 5.3 Abliterated
provider: openai
model: glm-5.3-abliterated
apiBase: https://api.commentllm.com/v1
apiKey: ${{ secrets.COMMENTLLM_API_KEY }}
roles: [chat, edit, apply]
capabilities: [tool_use]
defaultCompletionOptions:
contextLength: 1048576
maxTokens: 32768
| Setting | Why |
|---|---|
provider: openai with apiBase |
Calls the OpenAI Chat Completions API at the address you give |
capabilities: [tool_use] |
Tells Continue the model can call tools. Continue cannot tell this for a model it does not know |
roles |
What the model is used for: chat, inline edits and applying changes |
contextLength and maxTokens |
The model's limits |
Step 3: run the CLI
cn --config ~/.continue/config.yaml
cn shows a Model Capability Warning that the model is "not recommended for use with cn". It shows this for any model it does not recognize, and tool calls worked.

Our test project had a log-triage script with a bug: it counted failed SSH logins by username instead of by source address, so both tests failed. We asked:
The test suite fails. Run the tests, find the bug in auth_triage.py and fix it. Then run the tests again.
cn asks before commands and edits: Tab to continue, Shift+Tab to continue and not ask again, Esc to refuse.

It read the files, edited one line and ran pytest: 2 passed.

cn --auto allows every tool without asking. Use it in a sandbox.
Step 4: use the VS Code extension
Install Continue from the Extensions view. It loads the same ~/.continue/config.yaml as its main config, so DeepSeek V4.1 Flash Abliterated is already in the model picker. Choose Agent mode and give it a task. It asks you to accept or reject each terminal command and each diff.

On the same bug, it found the wrong capture group, edited the line and ran the tests again: 2 passed.

The same file also configures Continue's JetBrains plugin, which we did not test.
Common problems and fixes
| What you see | Why | Fix |
|---|---|---|
| "Model Capability Warning ... not recommended for use with cn" | cn does not recognize the model's name |
Nothing to do. The run worked |
| Authentication error in VS Code but not in the terminal | VS Code was started from the desktop and never saw the variable | Start code from a shell where COMMENTLLM_API_KEY is set |
Which model to use
Start with deepseek-v4.1-flash-abliterated, the model that fixed the bug here. glm-5.3-abliterated is the one to try for harder reasoning. Both take text only, so image input does not work. If the agent feels slow, switch the model ID to deepseek-v4.1-flash-abliterated-fast: it is the same model served about five times faster, at the same input and output rates and a higher cached-input rate. The pricing page lists every model and its rate.
Run it in a sandbox
Abliterated models refuse far fewer requests than standard ones, and that includes commands an agent should not run on your machine. Try it first in a throwaway project, as we did, and review what the model writes before you ship it.
Setting up a different agent? Uncensored coding AI lists every agent we tested, with a guide for each.
Questions
Can Continue use uncensored or abliterated models?
Yes. Continue accepts any OpenAI-compatible API in config.yaml. We ran Continue CLI 1.5.47 and VS Code extension 2.0.0 on DeepSeek V4.1 Flash Abliterated through CommentLLM, and each fixed a failing test.
How do I add an OpenAI-compatible model to Continue?
Add an entry under models in ~/.continue/config.yaml with provider set to openai, the model ID, apiBase set to the API's base URL and apiKey. Add capabilities: [tool_use] so agent mode can call tools.
Do the Continue CLI and VS Code extension use the same config?
Yes. In our test the VS Code extension loaded ~/.continue/config.yaml as its main config and showed the same models as cn.
Why does cn say the model is not recommended?
cn shows a Model Capability Warning for any model it does not recognize. With DeepSeek V4.1 Flash Abliterated, tool calls, edits and commands still worked.
