← All applications · Connect apps section on /docs

Anthropic + OpenAIManual setup

Aider

Pair-programming CLI, tự tạo commit Git.

Base URL to paste

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

See notes / depends on the protocol

This app has exceptions — read Notes below before pasting.

Prerequisites

  1. pip install aider-chat
  2. Git repo
  3. API key

Recommended model: claude-fable-5

Quick way — command / config

export ANTHROPIC_API_BASE="https://vietrouter.com.vn"
export ANTHROPIC_API_KEY="sk-mtm-..."
aider --model anthropic/claude-fable-5

Where to place file / fill Settings

Fileany
.aider.conf.yml
Trong repo; thêm vào .gitignore nếu chứa key.
Environment variablewindows
System Environment Variables
setx ANTHROPIC_API_BASE và ANTHROPIC_API_KEY tương ứng.

Verify connection

  1. aider trong repo → hỏi sửa 1 file nhỏ
  2. Sử dụng

Troubleshooting

SymptomReasonHow to handle
model not foundSai prefix anthropic/ hoặc openai/.Giữ đúng prefix theo provider Aider.

Related

Claude Code · Python (anthropic)

Zalo groupWhatsApp