Continue.dev
Continue.dev là extension AI coding cho VS Code và JetBrains — autocomplete inline, chat, refactor selection. Hỗ trợ provider OpenAI-compatible nên kết nối nexai trực tiếp.
Bạn cần chuẩn bị
·VS Code hoặc JetBrains IDE
·API Key (tạo ở trang API Keys)
·3 phút
1
Cài extension
VS Code: tìm 'Continue' trong Extensions Marketplace. JetBrains: Settings → Plugins → tìm 'Continue'.
2
Mở config Continue
Click icon Continue ở sidebar → bánh răng ⚙ → 'Open Config'. Continue đã chuyển từ config.json sang config.yaml — sửa file ~/.continue/config.yaml.
3
Thêm provider nexai
Thêm vào file ~/.continue/config.yaml:
name: nexai-config
version: 0.0.1
schema: v1
models:
- name: GPT-4o (nexai)
provider: openai
model: gpt-4o
apiBase: https://nexai.newdev.net/api/v1
apiKey: sk-billing-xxx
roles: [chat, edit, apply]
- name: GPT-5.5 (nexai)
provider: openai
model: gpt-5.5
apiBase: https://nexai.newdev.net/api/v1
apiKey: sk-billing-xxx
roles: [chat, edit, apply]4
Test thử
Mở Continue chat panel, chọn 'GPT-4o (nexai)' từ dropdown model, hỏi: 'Refactor function này'.
Xong! Continue đã kết nối với nexai.
Continue đã deprecate
config.json — dùng config.yaml. Field name (không phải title như cũ). Thêm role autocomplete nếu muốn inline completion (gợi ý: dùng gpt-4o-mini để tiết kiệm credit).