Continue đọc cấu hình từ thư mục `.continue`. Bạn có thể khai báo nhiều model cheapkeyai.shop cho chat, edit, apply và autocomplete.
Endpoint
https://cheapkeyai.shop/v1Thư mục cấu hình
macOS / Linux: ~/.continue
Windows: %USERPROFILE%\.continueconfig.yaml tối giản
name: cheapkeyai.shop
version: 1.0.0
schema: v1
models:
- name: GPT-5.2
provider: openai
model: gpt-5.2
apiKey: sk-your-api-key
apiBase: https://cheapkeyai.shop/v1
roles:
- chat
- edit
- apply
capabilities:
- tool_use
- image_input
- name: Claude Sonnet 4.5
provider: anthropic
model: claude-sonnet-4-5
apiKey: sk-your-api-key
apiBase: https://cheapkeyai.shop/v1
roles:
- chat
- edit
- applyDùng biến môi trường
export CHEAPKEYAI_API_KEY="sk-your-api-key"models:
- name: GPT-5.3 Codex
provider: openai
model: gpt-5.3-codex
apiKey: ${{ env.CHEAPKEYAI_API_KEY }}
apiBase: https://cheapkeyai.shop/v1
roles: [chat, edit, apply]
capabilities: [tool_use]Autocomplete
Autocomplete nên dùng model có độ trễ thấp để không làm chậm editor. Nếu Continue hỗ trợ tab autocomplete riêng, khai báo model nhẹ hơn cho role autocomplete.
Khắc phục sự cố
- Continue không nhận config mới: reload window hoặc restart IDE.
- Lỗi xác thực: kiểm tra biến môi trường có tồn tại trong process của IDE.
- Model không phản hồi: thử cURL trực tiếp tới `/v1/chat/completions` để tách lỗi IDE khỏi lỗi API.