Continue Integration
1. Prerequisites
- Registered and obtained a platform API Key. If you are signed in, open the Integrations page, pick Continue and copy the one-line command with your key and model already filled in, then run it in your terminal.
- The Continue extension installed in VS Code or JetBrains; for the terminal only, install the Continue CLI:bash
npm i -g @continuedev/cli
2. Recommended: One-Command Setup with codesw
codesw is Bumo's open-source provider switcher. It writes straight into Continue's own config file — no proxy, no middleman. Run this in your terminal (replace YOUR_API_KEY with the key from the API Keys page):
npx -y @bumocc/codesw use continue bumo.ai claude-sonnet-5-5 --key YOUR_API_KEYcodesw writes ~/.continue/config.yaml, putting this model first in models (Continue uses the first chat model by default) and only touches the fields it manages; the rest of your config is kept. Right after writing, it tests the connection with that key and model and tells you whether the key is invalid, the model does not exist or the balance has run out. Run npx -y @bumocc/codesw test continue any time to check again.
To switch models, replace claude-sonnet-5-5 with another model ID from the model list and run it again, or run npx -y @bumocc/codesw for the interactive mode and pick "Continue" → "Bumo Router" → a model.
3. Launch
The Continue extension and the cn CLI share the same local config, ~/.continue/config.yaml. In the extension, pick "Local Config" in the config switcher at the top of the Continue panel; Bumo Router · claude-sonnet-5-5 is the first model in the list. In the terminal, just run cn.
Appendix: Manual Configuration (Alternative)
Open ~/.continue/config.yaml and add this entry under models (merge it in if models already exists):
name: Local Config
version: 1.0.0
schema: v1
models:
- name: Bumo Router · claude-sonnet-5-5
provider: openai
model: claude-sonnet-5-5
apiBase: https://router.bumo.ai/v1
apiKey: YOUR_API_KEY
roles:
- chat
- edit
- apply
requestOptions:
headers:
X-Title: ContinueReplace
YOUR_API_KEYwith your platform API Key.
