← All applications · Connect apps section on /docs
Anthropic + OpenAIManual setup
Zed
Editor hiệu năng cao — language_models trong settings.json + keychain.
Base URL to paste
Paste exactly one of two formats — wrong URL yields 404 (not 401).
https://vietrouter.com.vnPrerequisites
- Zed đã cài
- API key
Recommended model: claude-fable-5
Quick way — command / config
{
"language_models": {
"anthropic": {
"api_url": "https://vietrouter.com.vn",
"available_models": [
{
"name": "claude-fable-5",
"display_name": "Claude Fable 5",
"max_tokens": 1000000
}
]
}
},
"agent": {
"default_model": {
"provider": "anthropic",
"model": "claude-fable-5"
}
}
}Where to place file / fill Settings
Filemacos
~/Library/Application Support/Zed/settings.json
Merge language_models; API key qua Assistant → Configure (keychain).
Filelinux
~/.config/zed/settings.json
Giống macOS về nội dung JSON.
Filewindows
%APPDATA%\Zed\settings.json
Tạo/sửa settings.json; key qua UI Configure.
Verify connection
- Mở Agent/Assistant, gửi tin
- Sử dụng
Troubleshooting
| Symptom | Reason | How to handle |
|---|---|---|
| Không thấy model | Thiếu available_models hoặc api_url sai. | api_url = https://vietrouter.com.vn (không /v1). |
Notes
- Zed lưu key trong keychain OS — không nhét key vào settings.json.