← All applications · Connect apps section on /docs
Anthropic + OpenAIconfigure cline
Cline
Also known as: vscode-cline
Cline: hướng dẫn kết nối tiện ích lập trình với nhà cung cấp tùy chỉnh.
Published instructions · App version: unverified
Chat, ping, invoke and content-generation examples may send real billable requests. Check the model, balance, rate and minimum before running them. GET /v1/models checks authentication and the catalogue only. Set up environment variables safely
Base URL to paste
OpenAI SDKs generally use a URL ending in /v1; Anthropic SDKs use the root URL. Avoid adding /v1 twice. Protocol compatibility does not guarantee every provider feature.
https://apistack.vnPrerequisites
- VS Code hoặc Cursor
- Cài extension Cline từ Marketplace
- API key API Stack
Recommended model: claude-fable-5
Quick way — command / config
api-cli configure cline -m claude-fable-5Where to place file / fill Settings
Interfaceany
Cline panel → Settings (bánh răng)
Bật Use custom base URL trước — nếu ẩn Base URL thì chưa bật công tắc.
Filemacos
~/Library/Application Support/Code/User/globalStorage/ (Cline)
Ưu tiên UI; API CLI có thể ghi cline_settings. Không sửa tay trừ khi biết.
Filewindows
%APPDATA%\Code\User\globalStorage\…
Tương tự; Cursor dùng thư mục Cursor thay Code.
Verify connection
- Trong Cline gửi task nhỏ (liệt kê file).
- Dashboard Sử dụng.
- API Stack doctor (nếu dùng API CLI).
Troubleshooting
| Symptom | Reason | How to handle |
|---|---|---|
| 404 | Anthropic nhưng dán URL có /v1. | Anthropic → https://apistack.vn; OpenAI Compatible → https://apistack.vn/v1. |
| Base URL bị ẩn | Chưa bật Use custom base URL. | Bật công tắc rồi dán URL. |
Notes
- Roo Code / Kilo UI gần giống Cline.