https://vietrouter.com.vn

← All applications · Connect apps section on /docs

Anthropic + OpenAIconfigure cline

Cline

Also known as: vscode-cline

Tiện ích VS Code/Cursor: agent đọc sửa file và chạy lệnh — hỗ trợ Anthropic custom base.

Base URL to paste

Paste exactly one of two formats — wrong URL yields 404 (not 401).

https://vietrouter.com.vn

Prerequisites

  1. VS Code hoặc Cursor
  2. Cài extension Cline từ Marketplace
  3. API key Vietrouter

Recommended model: claude-fable-5

Quick way — command / config

api-cli configure cline -k 'sk-mtm-...' -m claude-fable-5

Where 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

  1. Trong Cline gửi task nhỏ (liệt kê file).
  2. Dashboard Sử dụng.
  3. api-cli doctor (nếu dùng API CLI).

Troubleshooting

SymptomReasonHow to handle
404Anthropic nhưng dán URL có /v1.Anthropic → https://vietrouter.com.vn; OpenAI Compatible → https://vietrouter.com.vn/v1.
Base URL bị ẩnChư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.

Related

Roo Code · Kilo Code (VS Code) · Cursor · API CLI

Zalo groupWhatsApp