← Tất cả ứng dụng · Mục lục trên /docs
OpenAICấu hình tay
LibreChat
Web UI multi-user, phân quyền, lưu hội thoại.
URL gốc phải dán
Dán đúng một trong hai kiểu — sai sẽ ra 404 (không phải 401).
https://api.monkeytech.vn/v1Chuẩn bị
- LibreChat đã deploy
- Biến sk-mtk-... trên server
Model khuyến nghị: claude-fable-5
Cách nhanh — lệnh / cấu hình
version: 1.2.8
endpoints:
custom:
- name: "MonkeyTech API"
apiKey: "sk-mtk-..."
baseURL: "https://api.monkeytech.vn/v1"
models:
default: ["claude-fable-5", "claude-sonnet-5", "gpt-5.6-sol"]
fetch: true
titleConvo: true
titleModel: "claude-fable-5"
modelDisplayLabel: "MonkeyTech API"Bỏ file / điền Settings ở đâu
Filelinux
librechat.yaml (thư mục cài LibreChat)
Thêm endpoint custom như snippet; restart container/service sau khi sửa.
Filewindows
librechat.yaml trong thư mục deploy
Giống Linux; đảm bảo env sk-mtk-... có trong docker-compose.
Kiểm tra đã chạy đúng
- Chọn endpoint MonkeyTech API trong UI
- Gửi tin nhắn thử
Lỗi thường gặp
| Triệu chứng | Nguyên nhân | Cách xử lý |
|---|---|---|
| fetch models fail | baseURL sai hoặc firewall. | curl https://api.monkeytech.vn/v1/models -H "Authorization: Bearer sk-mtk-..." |