Integrations
Continue
Use Quobit models in the Continue extension for VS Code. Tested with Continue 2.0.0 on VS Code 1.135.0.
Step 1 — Install
Install Continue from the VS Code Extensions view (search for "Continue"), then open it from the Activity Bar.
Step 2 — Provide your API key
Create a key under API keys. Continue keeps it in its config file, so keep that file out of version control.
Create your own key under API keys and treat it as private: do not commit it, paste it into tickets or chat, or write it into logs.
Step 3 — Edit config.yaml
Open Continue's config.yaml (the gear icon in the Continue panel, or ~/.continue/config.yaml) and replace the models section with the one below. Paste your key in place of <your-api-key> on both models.
name: quobit
version: 0.0.1
schema: v1
models:
- name: glm-5.2
provider: openai
model: glm-5.2
apiBase: https://api.quobit.ai/v1
apiKey: <your-api-key>
defaultCompletionOptions:
contextLength: 120000
roles: [chat, edit, apply]
- name: kimi-k2.7-code
provider: openai
model: kimi-k2.7-code
apiBase: https://api.quobit.ai/v1
apiKey: <your-api-key>
roles: [chat]This file contains your key. Do not commit it or share it.
Step 4 — Test the connection
In the Continue panel pick glm-5.2, type a prompt and press Enter. When Continue proposes a change, click Accept and save the file with Ctrl+S.
Notes
- contextLength 120000 fits every plan. On the Pro plan you can raise it, up to the per-request context shown for your plan.
Common errors
- 401 invalid API key: Continue shows this under "View error output". Check the apiKey value in config.yaml.
- 404 or model not found: use a public model alias enabled for your plan, exactly as shown on the Models page.
- 400 context too long: the conversation plus the requested output is longer than your plan allows per request. Start a new chat or shorten the conversation.
- 429 rate_window_exceeded: you have reached your plan's 5-hour cost window. Wait for it to roll over, or upgrade your plan.