← All applications · Connect apps section on /docs
Anthropic + OpenAIManual setup
Zed
Zed: hướng dẫn cấu hình model và nhà cung cấp trong trình soạn thảo.
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
- Zed đã cài
- API key
Recommended model: claude-fable-5
Quick way — command / config
{
"language_models": {
"anthropic": {
"api_url": "https://apistack.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://apistack.vn (không /v1). |
Notes
- Zed lưu key trong keychain OS — không nhét key vào settings.json.