Use Continue with Shannon
Add Shannon to Continue's config.yaml as an OpenAI provider with an apiBase, and its chat, edit and agent modes run on Shannon models.
- Tested Nov 7, 2026
- OpenAI Chat Completions
- About 3 min
About Continue
Continue is an open-source coding assistant for VS Code and JetBrains. It adds a chat panel, inline edits and an agent mode that reads and changes files in your project. Models are listed in a config.yaml, so one entry with the OpenAI provider and a custom apiBase runs Continue on Shannon models.
What you need
- A Shannon API key
- Keys & usage
- Base URL
-
https://api.shannon-ai.com/v1Endpoint:/v1/chat/completions - Every snippet below follows your choice.
Set it up
-
Install the extension
Install Continue (
Continue.continue) from the VS Code Marketplace or Open VSX, or the Continue plugin for JetBrains, and open its panel from the activity bar. -
Keep the key in a secrets file
Continue fills
${{ secrets.NAME }}from~/.continue/.env, so the key stays out of the config file.~/.continue/.envSHANNON_API_KEY=YOUR_API_KEY -
Add Shannon to config.yaml
Put the model in
~/.continue/config.yaml.provider: openaiwith anapiBaseis how Continue talks to an OpenAI-compatible API; enter the URL with/v1and nothing after it. The roles say what the model does: chat, inline edits and applying code blocks.~/.continue/config.yamlname: Shannon version: 1.0.0 schema: v1 models: - name: Shannon provider: openai model: Kimi-K3-uncensored-NVFP4 apiBase: https://api.shannon-ai.com/v1 apiKey: ${{ secrets.SHANNON_API_KEY }} roles: - chat - edit - apply
A real setup on Continue 2.0.0: config.yaml on the right, the Shannon model in the picker on the left.
Check that it works
Send: Write a one-line Python function that returns the word cat.
You should see: A code block with def f(): return "cat" and an Apply button, under a folded Thought for … line.
Models that fit Continue
Every id below meets what Continue needs. The first one is the default in the snippets.
| Model id | Context window | Max output | Image input |
|---|---|---|---|
Kimi-K3-uncensored-NVFP4 | 1,022,976 | 262,144 | Yes |
shannon-coder-1 | 131,072 | 65,536 | No |
Kimi-K3.1-Pro-uncensored-NVFP4 | 1,022,976 | 262,144 | Yes |
Kimi-K3-uncensored-3BIT-REAP | 225,280 | 225,280 | Yes |
shannon-3 | 196,608 | 65,536 | Yes |
Model settings
Continue asks for these values. They follow the model you picked.
| Setting | Value | Why |
|---|---|---|
defaultCompletionOptions.contextLength | 1022976 | The model's window; add it under the model in config.yaml. |
defaultCompletionOptions.maxTokens | 262144 | The longest answer. |
Good to know
- On first open Continue shows an API Key card for its own hosted providers even when config.yaml already has a model. Close it with ×; the Shannon model is already in the picker.
- Only the roles you list are used. With
chat,editandapply, Continue sends no autocomplete requests while you type. - Agent mode sends one request per step. Every model is billed in tokens from your API credit, so a long agent run costs what it reads and writes.
Tips
- List several Shannon ids under
modelsand switch between them in the panel's model menu, or toggle with Ctrl+' as the menu shows. - Keep secrets in
~/.continue/.envand refer to them as${{ secrets.NAME }}; the config.yaml itself can then be shared. - Add
defaultCompletionOptionswithcontextLengthandmaxTokensto a model so Continue knows its window and answer length. - The JetBrains plugin reads the same
~/.continue/config.yaml, so one file sets up both editors.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
401 Unauthorized | SHANNON_API_KEY is missing from ~/.continue/.env, or the name differs from the one in config.yaml. | Add the line, use the same name in ${{ secrets.… }}, and save config.yaml again so Continue reloads it. |
404 Not Found | apiBase lacks /v1 or ends in /chat/completions. | Use exactly https://api.shannon-ai.com/v1. |
| The panel still asks for an API key | The onboarding card is for Continue's hosted providers. | Close the card; your config.yaml model is used. |
401 Unauthorized | The key is missing, mistyped or rotated. | Copy the key again from Keys & usage; it starts with sk-. |
context_length_exceeded / "prompt is too long" | The conversation is longer than the model's window. | Start a new chat, let the tool compact it, or pick a model with a larger window. |
insufficient_quota | Your balance cannot pay for the request. | Top up or change plan; the request is not retried by itself. |
Questions
Does Continue work with Shannon?
Yes: a model with provider: openai and apiBase: https://api.shannon-ai.com/v1 in config.yaml runs chat, edit and agent mode on Shannon.
Can I use Shannon's Anthropic endpoint instead?
Continue also has provider: anthropic, which takes an apiBase; Shannon serves that format at https://api.shannon-ai.com. We tested the OpenAI provider.